/* ============================================
   VULK ENGENHARIA - WEBSITE STYLES
   Paleta baseada na logo: Laranja #FF6B00, Azul #1A237E, Cinza #2C3E50
   ============================================ */

html {
    scroll-behavior: smooth;
}

:root {
    /* Cores principais da Vulk - Tom escuro moderno */
    --color-primary: #FF8C42;
    --color-primary-dark: #FF6B00;
    --color-secondary: #1a1a1f;
    --color-secondary-light: #2a2a35;
    --color-dark: #0f0f13;
    --color-dark-light: #1a1a1f;
    
    /* Cores complementares */
    --color-white: #FFFFFF;
    --color-light: #1a1a1f;
    --color-gray: #a0a0a5;
    --color-gray-light: #2a2a35;
    
    /* Tipografia */
    --font-primary: 'Poppins', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/* ============================================
   RESET E BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray);
    background-color: var(--color-dark);
    overflow-x: hidden;
}

/* Bloqueia scroll quando modal está aberto */
body.modal-open {
    overflow: hidden !important;
}

html.modal-open {
    overflow: hidden !important;
}

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

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

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f13 0%, #1a1a1f 50%, #0f0f13 100%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
    -o-transition: opacity 0.6s ease, visibility 0.6s ease;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
    -webkit-animation: fadeInUp 0.8s ease;
    animation: fadeInUp 0.8s ease;
    max-width: 90%;
}

.preloader__spinner {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
    position: relative;
}

/* Spinner com efeito de anel duplo */
.preloader__spinner::before,
.preloader__spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
}

.preloader__spinner::before {
    border-top-color: #FF8C42;
    border-right-color: #FF8C42;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

.preloader__spinner::after {
    border-bottom-color: #FF6B00;
    border-left-color: #FF6B00;
    -webkit-animation: spin 2s linear infinite reverse;
    animation: spin 2s linear infinite reverse;
}

/* Círculo interno */
.spinner__inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: rgba(255, 140, 66, 0.5);
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

/* Pontos orbitais */
.spinner__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FF8C42;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px rgba(255, 140, 66, 0.8);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.8);
}

.spinner__dot--1 {
    top: 0;
    left: 50%;
    margin-left: -4px;
    -webkit-animation: orbit 2s linear infinite;
    animation: orbit 2s linear infinite;
}

.spinner__dot--2 {
    top: 50%;
    right: 0;
    margin-top: -4px;
    -webkit-animation: orbit 2s linear infinite 0.5s;
    animation: orbit 2s linear infinite 0.5s;
}

.spinner__dot--3 {
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    -webkit-animation: orbit 2s linear infinite 1s;
    animation: orbit 2s linear infinite 1s;
}

.spinner__dot--4 {
    top: 50%;
    left: 0;
    margin-top: -4px;
    -webkit-animation: orbit 2s linear infinite 1.5s;
    animation: orbit 2s linear infinite 1.5s;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-webkit-keyframes orbit {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes orbit {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.preloader__text {
    color: #FF8C42;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    -webkit-animation: fadeInOut 2s ease-in-out infinite;
    animation: fadeInOut 2s ease-in-out infinite;
}

/* Barra de progresso */
.preloader__progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    margin: 20px auto 0;
    overflow: hidden;
    position: relative;
}

.preloader__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF8C42 0%, #FF6B00 100%);
    border-radius: 10px;
    -webkit-animation: progress 2s ease-in-out infinite;
    animation: progress 2s ease-in-out infinite;
    -webkit-box-shadow: 0 0 10px rgba(255, 140, 66, 0.8);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.8);
}

@-webkit-keyframes progress {
    0% {
        width: 0%;
        opacity: 1;
    }
    50% {
        width: 70%;
        opacity: 0.8;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes progress {
    0% {
        width: 0%;
        opacity: 1;
    }
    50% {
        width: 70%;
        opacity: 0.8;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@-webkit-keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Responsive para preloader */
@media (max-width: 768px) {
    .preloader__spinner {
        width: 60px;
        height: 60px;
    }
    
    .preloader__text {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .preloader__progress {
        width: 150px;
    }
}

/* ============================================
   CONTAINER
   ============================================ */

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero__slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1920&q=80');
}

.hero__slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=1920&q=80');
}

.hero__slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80');
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 19, 0.85) 0%, rgba(26, 26, 31, 0.75) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: -55px;
}

.hero__logo {
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__logo img {
    height: 300px;
    width: auto;
    filter: drop-shadow(0 10px 35px rgba(255, 140, 66, 0.6));
    transition: all 0.4s ease;
}

.hero__logo img:hover {
    filter: drop-shadow(0 15px 45px rgba(255, 140, 66, 0.8));
    transform: scale(1.03);
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero__subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero__description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease;
    max-width: 700px;
}

.hero__button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.4);
    transition: var(--transition);
    animation: fadeInUp 1.4s ease;
}

.hero__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 140, 66, 0.6);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 140, 66, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
    animation: fadeIn 2s ease 1s both;
}

.hero__scroll span {
    width: 4px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(15px);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 140, 66, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0f0f13 0%, #1a1a1f 50%, #0f0f13 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 66, 0.5) 50%, transparent 100%);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 66, 0.5) 50%, transparent 100%);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: 2px;
    padding: 0 20px;
    word-wrap: break-word;
}

.section__subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 60px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service__card {
    background: rgba(26, 26, 31, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service__card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 48px rgba(255, 140, 66, 0.18);
    border-color: rgba(255, 140, 66, 0.4);
}

.service__card:hover::before {
    opacity: 1;
}

.service__card:hover::after {
    transform: scaleX(1);
}

.service__icon {
    width: auto;
    height: auto;
    margin: 0 auto 30px auto;
    color: var(--color-primary);
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    z-index: 10;
}

.service__icon i {
    font-size: 64px;
    filter: drop-shadow(0 0 6px rgba(255, 140, 66, 0.15));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.service__card:hover .service__icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.service__card:hover .service__icon i {
    filter: drop-shadow(0 0 14px rgba(255, 140, 66, 0.45));
}

/* 7th service card — center when alone on last row at 3-col layout */
@media (min-width: 960px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service__card--last:nth-child(7) {
        grid-column: 2;
    }
}

.service__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
    letter-spacing: 0.5px;
}

.service__description {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.service__button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.service__button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
    border-color: rgba(255, 140, 66, 0.6);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 140, 66, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #1a1a1f 0%, #0f0f13 50%, #1a1a1f 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 66, 0.5) 50%, transparent 100%);
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 66, 0.5) 50%, transparent 100%);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact__card {
    background: rgba(26, 26, 31, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact__card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 140, 66, 0.2);
    border-color: rgba(255, 140, 66, 0.4);
}

.contact__card:hover::before {
    opacity: 1;
}

.contact__card:hover::after {
    transform: scaleX(1);
}

.contact__icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 8px rgba(255, 140, 66, 0.2));
    transition: var(--transition);
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
}

.contact__card:hover .contact__icon {
    color: var(--color-primary-dark);
    filter: drop-shadow(0 0 16px rgba(255, 140, 66, 0.5));
    transform: scale(1.1);
}

.contact__method {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
}

.contact__info {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.contact__button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 140, 66, 0.3);
    display: inline-block;
}

.contact__button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
    border-color: rgba(255, 140, 66, 0.6);
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 99999;
    padding: 0;
    overflow: hidden;
}

.modal.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 1;
}

.modal__content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1f 0%, #0f0f13 100%);
    border: 2px solid rgba(255, 140, 66, 0.3);
    border-radius: 25px;
    max-width: 700px;
    width: 95%;
    height: auto;
    max-height: min(88vh, 780px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        0 25px 100px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(255, 140, 66, 0.2),
        inset 0 1px 0 rgba(255, 140, 66, 0.1);
    animation: modalSlideIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

/* Scrollbar personalizada */
.modal__content::-webkit-scrollbar {
    width: 8px;
}

.modal__content::-webkit-scrollbar-track {
    background: rgba(26, 26, 31, 0.5);
    border-radius: 10px;
}

.modal__content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 10px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-80px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-gray);
    background: rgba(26, 26, 31, 0.9);
    border: 2px solid rgba(255, 140, 66, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    cursor: pointer;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.modal__close:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 25px rgba(255, 140, 66, 0.6);
}

.modal__body {
    padding: 70px 50px 50px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    position: relative;
}

/* Scrollbar customizada para o modal */
.modal__body::-webkit-scrollbar {
    width: 10px;
}

.modal__body::-webkit-scrollbar-track {
    background: rgba(26, 26, 31, 0.5);
    border-radius: 10px;
    margin: 20px 0;
}

.modal__body::-webkit-scrollbar-thumb {
    background: -webkit-gradient(linear, left top, left bottom, from(var(--color-primary)), to(var(--color-primary-dark)));
    background: -o-linear-gradient(top, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 31, 0.3);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.modal__body::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    -webkit-box-shadow: 0 0 15px rgba(255, 140, 66, 0.6);
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.6);
}

.modal__body::-webkit-scrollbar-thumb:active {
    background: var(--color-primary-dark);
}

/* Firefox scrollbar */
.modal__body {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(26, 26, 31, 0.5);
}

.modal__icon {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
    filter: drop-shadow(0 4px 20px rgba(255, 140, 66, 0.35));
    animation: iconEntrance 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes iconEntrance {
    from {
        transform: scale(0.4) rotate(-10deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.modal__title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.modal__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
    border-radius: 2px;
}

.modal__description {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}

.modal__description p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.modal__description h4 {
    color: var(--color-white);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.modal__description h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 2px;
}

.modal__description strong {
    color: var(--color-white);
    font-weight: 600;
}

.modal__description ul {
    margin-left: 25px;
    margin-bottom: 25px;
}

.modal__description li {
    margin-bottom: 12px;
    color: var(--color-gray);
    position: relative;
    padding-left: 10px;
}

.modal__description li::before {
    content: '▸';
    position: absolute;
    left: -15px;
    color: var(--color-primary);
    font-weight: bold;
}

.modal__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.modal__whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modal__whatsapp:hover::before {
    left: 100%;
}

.modal__whatsapp:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 50px rgba(37, 211, 102, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.modal__whatsapp svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, #0f0f13 0%, #1a1a1f 100%);
    border-top: 1px solid rgba(255, 140, 66, 0.1);
    padding: 30px 0;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer__logo {
    height: 85px;
    width: auto;
}

.footer__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer__company {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

.footer__version {
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-align: center;
    margin-top: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-20deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero__logo img {
        height: 350px;
    }
    
    .hero__subtitle {
        font-size: 1.8rem;
    }
    
    .hero__description {
        font-size: 1.25rem;
    }
}

/* Tablet Landscape & Desktop (769px - 1439px) */
@media (max-width: 1023px) and (min-width: 769px) {
    .hero__logo img {
        height: 220px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
    .hero__logo img {
        height: 200px;
    }
    
    .hero__subtitle {
        font-size: 1.3rem;
    }
    
    .hero__description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Large (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    .hero__logo img {
        height: 200px;
    }
    
    .hero__subtitle {
        font-size: 1.15rem;
    }
    
    .hero__description {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }
    
    .hero__button {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service__card {
        padding: 35px 25px;
    }
    
    .contact {
        padding: 100px 0 70px;
    }
    
    .contact__card {
        padding: 40px 28px;
    }
}

/* Mobile Medium (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .container {
        padding: 0 15px;
    }
    
    .hero__logo img {
        height: 200px;
    }
    
    .hero__subtitle {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    
    .hero__description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .hero__button {
        padding: 13px 32px;
        font-size: 0.9rem;
    }
    
    .section__title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .section__subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .services {
        padding: 70px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .service__card {
        padding: 30px 20px;
    }
    
    .service__icon {
        margin-bottom: 22px;
    }
    
    .service__icon i {
        font-size: 3rem;
    }
    
    .service__title {
        font-size: 1.2rem;
    }
    
    .service__description {
        font-size: 0.95rem;
    }
    
    .contact {
        padding: 80px 0 60px;
    }
    
    .contact__card {
        padding: 35px 20px;
    }
    
    .contact__icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .contact__method {
        font-size: 1.4rem;
    }
    
    .contact__info {
        font-size: 0.95rem;
    }
    
    .modal__body {
        padding: 45px 20px 25px;
    }
    
    .modal__icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
    
    .modal__title {
        font-size: 1.5rem;
        padding-bottom: 15px;
        margin-bottom: 25px;
    }
    
    .modal__title::after {
        width: 60px;
        height: 2px;
    }
    
    .modal__description {
        font-size: 0.95rem;
    }
    
    .modal__description h4 {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .modal__whatsapp {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .modal__close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .modal__content {
        width: calc(100% - 20px);
        border-radius: 20px;
    }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }
    
    .hero__logo img {
        height: 200px;
    }
    
    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .hero__description {
        font-size: 0.85rem;
        margin-bottom: 22px;
    }
    
    .hero__button {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
    
    .section__title {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }
    
    .section__subtitle {
        font-size: 0.9rem;
        padding: 0 8px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services__grid {
        gap: 15px;
    }
    
    .service__card {
        padding: 25px 15px;
    }
    
    .service__icon {
        font-size: 2.8rem;
    }
    
    .service__title {
        font-size: 1.1rem;
    }
    
    .service__description {
        font-size: 0.9rem;
    }
    
    .service__button {
        padding: 9px 22px;
        font-size: 0.85rem;
    }
    
    .contact {
        padding: 70px 0 50px;
    }
    
    .contact__card {
        padding: 30px 15px;
    }
    
    .contact__icon {
        width: 100%;
        font-size: 2.8rem;
        margin: 0 auto 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .contact__method {
        font-size: 1.3rem;
    }
    
    .contact__info {
        font-size: 0.9rem;
    }
    
    .contact__button {
        padding: 12px 26px;
        font-size: 0.85rem;
    }
    
    .modal__body {
        padding: 40px 15px 20px;
    }
    
    .modal__icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .modal__title {
        font-size: 1.3rem;
    }
    
    .modal__description {
        font-size: 0.9rem;
    }
    
    .modal__description h4 {
        font-size: 1rem;
    }
    
    .modal__description ul {
        margin-left: 20px;
    }
    
    .modal__whatsapp {
        padding: 14px 25px;
        font-size: 0.9rem;
    }
    
    .modal__close {
        width: 38px;
        height: 38px;
    }
    
    .modal__content {
        width: calc(100% - 16px);
        border-radius: 18px;
        max-width: calc(100vw - 16px);
    }
    
    .footer__logo {
        height: 35px;
    }
    
    .footer__text {
        font-size: 0.8rem;
    }
}

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
    .hero__scroll {
        display: none;
    }
    
    .contact__grid {
        gap: 25px;
    }
    
    /* iOS Modal Fixes */
    .modal {
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .modal__content {
        margin: 0 auto 20px;
        max-height: calc(100vh - 40px);
        max-height: calc(100dvh - 40px); /* iOS 15+ dynamic viewport */
    }
    
    /* Contact Icons Mobile Fix */
    .contact__icon {
        font-size: 3.5rem;
        margin: 0 auto 20px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

/* iPhone Specific Fixes (iOS Safari) */
@supports (-webkit-touch-callout: none) {
    .modal {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
    
    .modal__content {
        max-height: calc(100vh - 40px);
        max-height: calc(-webkit-fill-available - 40px);
    }
    
    .contact__icon {
        -webkit-text-size-adjust: 100%;
    }
}

/* Android Chrome Specific */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    .modal__content {
        max-height: calc(100vh - 40px);
    }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    pointer-events: none;
    text-decoration: none;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-ring 2s ease-out infinite;
    opacity: 0;
}

.whatsapp-float.visible::before {
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 140, 66, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    z-index: 9997;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.6);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   3D TILT EFFECT - SERVICE CARDS
   ============================================ */
.service__card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service__card .service__icon,
.service__card .service__title,
.service__card .service__description,
.service__card .service__button {
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

/* ============================================
   PARALLAX HERO ENHANCEMENT
   ============================================ */
.hero__slide {
    will-change: transform;
    transition: opacity 2s ease-in-out, transform 0.1s linear;
}

/* ============================================
   RESPONSIVE FLOATING ELEMENTS
   ============================================ */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }

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

    .whatsapp-float__tooltip {
        display: none;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        left: 20px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }

    .scroll-progress {
        height: 2px;
    }
}

@media (max-width: 599px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

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

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        left: 16px;
    }
}

/* ============================================
   ACESSIBILIDADE E COMPATIBILIDADE
   ============================================ */

/* Reduced Motion — respeita preferência do sistema operacional */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero__slide {
        transition: none !important;
    }
}

/* Focus Visible — acessibilidade por teclado */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Touch targets mínimos — WCAG 2.5.5 (44x44px) */
.service__button,
.contact__button,
.modal__close,
.modal__whatsapp,
.hero__button,
.back-to-top,
.whatsapp-float {
    min-height: 44px;
    touch-action: manipulation;
}

/* High Contrast Mode (Windows) */
@media (forced-colors: active) {
    .service__card,
    .contact__card,
    .modal__content {
        border: 2px solid ButtonText;
    }

    .service__icon,
    .contact__icon,
    .modal__icon {
        forced-color-adjust: none;
        color: Highlight;
    }

    .hero__button,
    .service__button,
    .contact__button,
    .modal__whatsapp {
        border: 2px solid ButtonText;
    }
}

/* Print — layout limpo para impressão */
@media print {
    .preloader,
    .hero__scroll,
    .whatsapp-float,
    .back-to-top,
    .scroll-progress,
    .modal {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .service__card,
    .contact__card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
}

/* Firefox — ajuste de scrollbar global */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(26, 26, 31, 0.5);
}

/* Modal mobile — centraliza alinhamento vertical */
@media (max-width: 768px) {
    .modal__icon {
        font-size: 3.8rem;
    }

    .modal__body {
        padding: 50px 30px 30px;
    }
}

@media (max-width: 479px) {
    .modal__icon {
        font-size: 3.2rem;
        margin-bottom: 16px;
    }

    .service__icon i {
        font-size: 2.8rem;
    }

    .contact__icon {
        font-size: 2.8rem;
    }
}
