/* Variáveis de cores e fontes */
:root {
    --primary-color: #00395b;
    --secondary-color: #dbdbdb;
    --support-color: #001335;
    --accent-color: #0066cc;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, #00395b 0%, #001335 100%);
    --gradient-tech: linear-gradient(45deg, #00395b, #0066cc, #001335);
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Calibri', 'Segoe UI', sans-serif;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.text-center {
    text-align: center;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

/* Header com Parallax e Globo Terrestre */
.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--support-color) 100%);
    transform: translateZ(0);
}

/* Partículas animadas */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles-container::before,
.particles-container::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(219, 219, 219, 0.6);
    border-radius: 50%;
    animation: float-particles 20s linear infinite;
}

.particles-container::before {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.particles-container::after {
    left: 80%;
    top: 60%;
    animation-delay: 5s;
}

@keyframes float-particles {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Grid tecnológico */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(219, 219, 219, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(219, 219, 219, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 10s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Globo Terrestre com Tecnologia */
.globo-terrestre-container {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    z-index: 5;
    animation: float-globe 6s ease-in-out infinite;
}

@keyframes float-globe {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-55%) translateX(10px) rotate(1deg);
    }
    75% {
        transform: translateY(-45%) translateX(-10px) rotate(-1deg);
    }
}

.globo-terrestre {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 105, 204, 0.4), rgba(0, 51, 91, 0.2)),
        linear-gradient(45deg, rgba(0, 51, 91, 0.3), rgba(0, 19, 53, 0.5));
    border: 2px solid rgba(219, 219, 219, 0.4);
    animation: rotate-globe 30s linear infinite;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

@keyframes rotate-globe {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Continentes */
.continentes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.continente {
    position: absolute;
    background: rgba(219, 219, 219, 0.8);
    border-radius: 50%;
    animation: pulse-continent 4s ease-in-out infinite;
}

.america-sul {
    width: 60px;
    height: 80px;
    top: 55%;
    left: 25%;
    border-radius: 60% 40% 30% 70%;
    animation-delay: 0s;
}

.america-norte {
    width: 80px;
    height: 70px;
    top: 30%;
    left: 20%;
    border-radius: 40% 60% 70% 30%;
    animation-delay: 1s;
}

.europa {
    width: 50px;
    height: 40px;
    top: 25%;
    left: 48%;
    border-radius: 30% 70% 50% 50%;
    animation-delay: 2s;
}

.africa {
    width: 45px;
    height: 85px;
    top: 35%;
    left: 48%;
    border-radius: 50% 50% 30% 70%;
    animation-delay: 3s;
}

.asia {
    width: 90px;
    height: 70px;
    top: 20%;
    left: 60%;
    border-radius: 70% 30% 60% 40%;
    animation-delay: 4s;
}

@keyframes pulse-continent {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Grid de latitude e longitude */
.grid-lat-long {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 50% 50%, transparent 30%, rgba(219, 219, 219, 0.2) 31%, transparent 32%),
        linear-gradient(0deg, transparent 48%, rgba(219, 219, 219, 0.3) 49%, rgba(219, 219, 219, 0.3) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(219, 219, 219, 0.3) 49%, rgba(219, 219, 219, 0.3) 51%, transparent 52%);
    animation: grid-pulse 3s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

/* Conexões tecnológicas */
.tech-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.8), transparent);
    animation: connection-pulse 2s ease-in-out infinite;
}

.line-1 {
    width: 100px;
    top: 20%;
    left: -50px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.line-2 {
    width: 120px;
    top: 70%;
    right: -60px;
    transform: rotate(-30deg);
    animation-delay: 0.5s;
}

.line-3 {
    width: 80px;
    top: 40%;
    left: -40px;
    transform: rotate(15deg);
    animation-delay: 1s;
}

.line-4 {
    width: 90px;
    bottom: 30%;
    right: -45px;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
}

.line-5 {
    width: 70px;
    top: 60%;
    left: -35px;
    transform: rotate(60deg);
    animation-delay: 2s;
}

.line-6 {
    width: 110px;
    top: 10%;
    right: -55px;
    transform: rotate(-15deg);
    animation-delay: 2.5s;
}

@keyframes connection-pulse {
    0%, 100% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Partículas do globo */
.tech-particles-globe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 102, 204, 0.8);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
}

.p1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.p2 {
    top: 80%;
    left: 70%;
    animation-delay: 1.5s;
}

.p3 {
    top: 30%;
    left: 85%;
    animation-delay: 3s;
}

.p4 {
    top: 70%;
    left: 15%;
    animation-delay: 4.5s;
}

.p5 {
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
    75% {
        transform: translateY(20px) scale(0.8);
        opacity: 0.6;
    }
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 0;
    background: rgba(0, 51, 91, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    overflow: visible;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 72px;
    padding: 0 20px 0 250px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.logo a {
    display: block;
}

.logo img {
    height: 200px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background: var(--gradient-tech);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 19, 53, 0.9), rgba(0, 51, 91, 0.75));
    z-index: 2;
}

/* Header Principal */
header {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: -1px;
}

/* Parallax Container */
.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Tech Background */
.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="particles" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(219,219,219,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23particles)"/></svg>');
    animation: particles-float 20s infinite linear;
}

@keyframes particles-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(219,219,219,0.2)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Globo Terrestre */
.globo-terrestre-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 3;
}

.globo-terrestre {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 102, 204, 0.8), rgba(0, 51, 91, 0.9));
    box-shadow: 0 0 50px rgba(0, 102, 204, 0.5);
    animation: rotate-globe 30s infinite linear;
}
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding-top: 120px;
    padding-bottom: 60px;
}

.headline {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.7);
}

.subheadline {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-style: italic;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-tech);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Seções */
section {
    padding: 5rem 0;
}

.institutional-section {
    background: var(--secondary-color);
    position: relative;
}

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

.institutional-image {
    display: flex;
    align-items: flex-end;
    align-self: end;
    height: 100%;
}

.institutional-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.institutional-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tech-element {
    position: relative;
    min-height: 400px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

.karla-image {
    display: block;
    height: 100%;
    max-height: 460px;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
}

.circuit-pattern {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.circuit-pattern::before,
.circuit-pattern::after {
    content: '';
    position: absolute;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
}

.circuit-pattern::before {
    width: 150px;
    height: 150px;
    top: 25px;
    left: 25px;
    animation: rotate 15s linear infinite reverse;
}

.circuit-pattern::after {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    animation: rotate 10s linear infinite;
}

/* Áreas de Atuação */
.areas-section {
    background: #f8f9fa;
}

.areas-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.area-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 91, 0.1);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 51, 91, 0.2);
    border-color: var(--primary-color);
}

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

.area-card h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.areas-text {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.areas-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Seção de Atuação */
.litigation-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
}

.litigation-content {
    max-width: 800px;
    margin: 0 auto;
}

.litigation-content h2 {
    margin-bottom: 2rem;
}

.litigation-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Direito Digital */
.digital-law-section {
    background: linear-gradient(135deg, var(--support-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.digital-law-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(219,219,219,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.digital-law-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.award-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(219, 219, 219, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.award-badge i {
    color: gold;
    font-size: 1.2rem;
}

.digital-law-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Depoimentos */
.testimonials-section {
    background: var(--secondary-color);
}

.testimonials-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    min-height: 200px;
}

.testimonial {
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-avatar {
    display: none;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.testimonial-text strong {
    display: block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    font-style: normal;
}

.testimonial {
    text-align: center;
    padding: 2rem 1rem;
}

/* Responsividade para Liderança Digital */
@media (max-width: 768px) {
    .digital-law-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .video-square-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .digital-law-text {
        order: 1;
    }
    
    .digital-law-video {
        order: 2;
        margin-top: 1rem;
    }
}

/* Responsividade */

/* Botão de depoimentos azul */
.testimonials-section .btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    margin-top: 1rem;
}

.testimonials-section .btn-primary:hover {
    background: #0052a3;
}
}
}

.testimonial-rating {
    color: gold;
    font-size: 1.2rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.carousel-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 51, 91, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* CTA Final */
.final-cta-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
}

.final-cta-section h2 {
    margin-bottom: 3rem;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Rodapé */
.footer {
    background: var(--support-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.footer a:hover {
    color: var(--secondary-color);
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.footer-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(219, 219, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(219, 219, 219, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Páginas internas - Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(219,219,219,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Parcerias Multidisciplinares - Card Especial */
.partnerships-special-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f0f4f8 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.partnerships-special-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,51,91,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.partnerships-special-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.partnerships-special-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.partnerships-special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.partnership-special-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 51, 91, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 51, 91, 0.1);
    position: relative;
    overflow: hidden;
}

.partnership-special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.partnership-special-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 51, 91, 0.2);
    border-color: var(--primary-color);
}

.partnership-special-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 51, 91, 0.3);
}

.partnership-special-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.partnership-special-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.partnership-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: rgba(0, 51, 91, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 51, 91, 0.2);
}

.partnerships-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.partnerships-cta p {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-style: italic;
}
.office-image-section {
    padding: 0;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.office-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.office-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.office-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 51, 91, 0.3), rgba(0, 19, 53, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-elements {
    display: flex;
    gap: 2rem;
}

.circuit-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, rgba(219, 219, 219, 0.8), transparent);
    animation: circuit-pulse 3s ease-in-out infinite;
}

.circuit-line:nth-child(2) {
    animation-delay: 1s;
    height: 150px;
}

.circuit-line:nth-child(3) {
    animation-delay: 2s;
    height: 120px;
}

@keyframes circuit-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}
.institutional-full-section {
    background: var(--secondary-color);
    padding: 5rem 0;
}

.institutional-full-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.institutional-text-full p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 51, 91, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Áreas detalhadas */
.areas-detailed-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

.areas-detailed-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

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

.area-detailed-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 91, 0.1);
}

.area-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 51, 91, 0.2);
    border-color: var(--primary-color);
}

.area-detailed-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.area-detailed-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
}

.area-detailed-header h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.digital-highlight {
    background: linear-gradient(135deg, var(--support-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.digital-highlight h3 {
    color: var(--text-light);
}

.digital-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(219,219,219,0.2)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.highlight-badge {
    background: rgba(219, 219, 219, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(10px);
}

.area-detailed-card ul {
    list-style: none;
    margin-top: 1rem;
}

.area-detailed-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.area-detailed-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Parcerias */
.partnerships-section {
    background: var(--secondary-color);
    padding: 5rem 0;
}

.partnerships-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.partnerships-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partnership-item {
    text-align: center;
    padding: 2rem;
}

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

.partnership-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Botões estratégicos */
.strategic-buttons-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    text-align: center;
}

.strategic-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Direito Digital - Header com vídeo */
.digital-header {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 19, 53, 0.9), rgba(0, 51, 91, 0.75));
    z-index: 2;
}

.digital-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
}

.digital-header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.7);
}

.digital-header-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    color: var(--text-light);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

/* Estilos para os botões de diagnóstico */
.diagnostic-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Botão Ver Mais Depoimentos */
.ver-mais-depoimentos {
    margin-top: 3rem;
    text-align: center;
}

.ver-mais-depoimentos .btn {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.ver-mais-depoimentos .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-container {
        min-height: 64px;
        padding-left: 170px;
    }

    .logo img {
        height: 120px;
    }

    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .headline {
        font-size: 2.5rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .globe-container {
        display: none;
    }
    
    .institutional-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-element {
        min-height: 300px;
    }

    .karla-image {
        height: auto;
        max-height: 360px;
    }
    
    .cta-buttons,
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .digital-law-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    /* Páginas internas - responsivo */
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .institutional-full-content,
    .digital-law-full-content,
    .khs-seal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .areas-detailed-grid,
    .digital-services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .strategic-buttons,
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-features {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        min-height: 56px;
        padding-left: 125px;
    }

    .logo img {
        height: 84px;
    }

    .headline {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .digital-header-content h1 {
        font-size: 2rem;
    }
    
    .digital-header-content p {
        font-size: 1.1rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .headline {
        font-size: 2.5rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .globe-container {
        display: none;
    }
    
    .institutional-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons,
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .digital-law-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    /* Páginas internas - responsivo */
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .institutional-full-content,
    .digital-law-full-content,
    .khs-seal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .areas-detailed-grid,
    .digital-services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .strategic-buttons,
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-features {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}
}

.digital-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.digital-header-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Selo de Vídeo TOP100 */
.award-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    top: 20px;
    right: 40px;
    max-width: 200px;
    z-index: 10;
}

.award-video {
    width: 162px;
    height: 162px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.award-seal span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
}

/* Layout em grid para Liderança Digital */
.digital-law-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.digital-law-text {
    max-width: 100%;
}

.digital-law-text h2 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.digital-law-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.award-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.digital-law-video {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container quadrado com cantos arredondados */
.video-square-container {
    width: 250px;
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    border: 3px solid var(--accent-color);
}

/* Vídeo quadrado centralizado */
.square-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.digital-law-full-section {
    background: var(--secondary-color);
    padding: 5rem 0;
}

.digital-law-full-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Correções de altura e espaçamento */
header {
    min-height: 80vh;
}

.hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
}

.page-header {
    padding: 6rem 0 3rem;
}

.digital-law-text-full h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.digital-law-text-full p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.digital-law-stats {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Serviços de Direito Digital */
.digital-services-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

.digital-services-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.digital-service-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 91, 0.1);
}

.digital-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 51, 91, 0.2);
    border-color: var(--primary-color);
}

.digital-service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.digital-service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.digital-service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(0, 51, 91, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Selo KHS */
.khs-seal-section {
    position: relative;
    padding: 5rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.khs-seal-section h3,
.khs-seal-section h4,
.khs-seal-section p {
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.khs-seal-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.khs-seal-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.khs-seal-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.3);
}

.seal-badge {
    text-align: center;
    padding: 2rem;
    background: rgba(219, 219, 219, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.seal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(219, 219, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: gold;
}

.seal-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.seal-feature-item i {
    font-size: 2rem;
    color: gold;
    min-width: 40px;
}

.seal-feature-item h4 {
    margin-bottom: 0.5rem;
}

/* CTA Diagnóstico */
.diagnostic-cta-section {
    background: var(--secondary-color);
    padding: 4rem 0;
    text-align: center;
}

.diagnostic-cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.diagnostic-cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* CTA Emergência */
.emergency-cta-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}

.emergency-cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.emergency-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.emergency-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.emergency-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.emergency-feature i {
    color: gold;
}

/* Depoimentos Grid */
.testimonials-intro-section {
    background: var(--secondary-color);
    padding: 5rem 0;
    text-align: center;
}

.testimonials-intro-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    opacity: 0.8;
}

.testimonials-grid-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

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

.testimonial-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 51, 91, 0.2);
}

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

.client-avatar {
    flex-shrink: 0;
}

.client-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.client-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.client-profession {
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    color: gold;
    font-size: 0.9rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    padding-left: 1rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: var(--font-primary);
}

.testimonial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 51, 91, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 51, 91, 0.1);
}

.testimonial-date {
    color: var(--text-dark);
    opacity: 0.6;
    font-size: 0.9rem;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.2rem;
}

.testimonials-cta-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.testimonials-cta-content h2 {
    margin-bottom: 1rem;
}

.testimonials-cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

body.modal-open {
    overflow: hidden;
}

.email-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 3000;
}

.email-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.email-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 34, 0.72);
    backdrop-filter: blur(6px);
}

.email-modal-dialog {
    position: relative;
    width: min(100%, 760px);
    background: #ffffff;
    border-radius: 24px;
    padding: 1.85rem;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(0, 51, 91, 0.08);
    z-index: 1;
}

.email-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 51, 91, 0.08);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-modal-close:hover {
    background: rgba(0, 51, 91, 0.16);
}

.email-modal-header {
    margin-bottom: 1.1rem;
}

.email-modal-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9a7d4f;
}

.email-modal-header h3 {
    margin-bottom: 0.45rem;
    color: var(--primary-color);
    font-size: 1.55rem;
}

.email-modal-header p {
    margin: 0;
    color: rgba(18, 27, 42, 0.78);
}

.email-modal-form {
    display: grid;
    gap: 0.9rem;
}

.email-form-field {
    display: grid;
    gap: 0.45rem;
}

.email-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.email-form-main-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.email-form-panel {
    display: grid;
    gap: 0.9rem;
}

.email-form-field-message {
    height: 100%;
}

.email-form-field-message textarea {
    height: calc(100% - 1.9rem);
    min-height: 166px;
}

.email-form-field label {
    font-weight: 600;
    color: var(--primary-color);
}

.email-form-field input,
.email-form-field textarea {
    width: 100%;
    border: 1px solid rgba(0, 51, 91, 0.18);
    border-radius: 16px;
    padding: 0.8rem 0.95rem;
    font: inherit;
    color: var(--text-dark);
    background: #fbfcfe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-form-field input:focus,
.email-form-field textarea:focus {
    outline: none;
    border-color: rgba(0, 51, 91, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 51, 91, 0.08);
}

.email-form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 0.85rem;
    align-items: center;
}

.captcha-question {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(0, 51, 91, 0.06);
    color: var(--primary-color);
    font-weight: 600;
}

.email-form-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.email-form-status {
    min-height: 1.4rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.email-form-status.info {
    color: var(--primary-color);
}

.email-form-status.success {
    color: #198754;
}

.email-form-status.error {
    color: #c62828;
}

.email-submit-btn {
    justify-self: start;
}

.email-submit-btn.is-loading,
.email-submit-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

@media (max-width: 480px) {
    .headline {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .email-modal {
        padding: 1rem;
    }

    .email-modal-dialog {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .captcha-row {
        grid-template-columns: 1fr;
    }

    .email-form-main-grid {
        grid-template-columns: 1fr;
    }

    .email-form-row {
        grid-template-columns: 1fr;
    }

    .email-form-footer {
        grid-template-columns: 1fr;
    }

    .email-submit-btn {
        justify-self: stretch;
    }
    
    section {
        padding: 3rem 0;
    }
}
