:root {
    /* Paleta ttof2.jpeg — Black to Deep Navy gradient + ciano sutil */
    --primary-color: #95c4e9;
    --secondary-color: #436fbc;
    --accent-color: #5dd8e8;
    --text-dark: #020203;
    --text-light: #dce8f5;
    --text-muted: #7a9bbf;
    --gradient-primary: linear-gradient(135deg, #436fbc 0%, #1a2a6c 60%, #05060f 100%);
    --gradient-secondary: linear-gradient(160deg, #020203 0%, #060810 40%, #0a1128 100%);
    --gradient-light: linear-gradient(160deg, #060810 0%, #0a1128 60%, #0f1a3a 100%);
    --gradient-subtle: linear-gradient(160deg, #020203 0%, #050710 50%, #080e20 100%);
    --gradient-card: linear-gradient(135deg, #090b18 0%, #0d1228 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, #020203 0%, #060810 40%, #0a1128 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Global text utilities for dark theme */
.text-light {
    color: #dce8f5 !important;
}

.text-secondary {
    color: #8bafd4 !important;
}

.card-text {
    color: #b8d0e8;
}

/* Cards escuros - textos claros */
.service-card .card-text,
.model-card .card-text {
    color: #dce8f5 !important;
}

/* Override FORÇADO para textos escuros específicos no index.html */
.service-card .card-text.text-dark-override {
    color: #b8d0e8 !important;
    font-weight: 500;
}

.service-card .list-unstyled li,
.model-card .list-unstyled li {
    color: #dce8f5 !important;
}

/* Cards claros - textos escuros */
.bg-white .card-text,
.bg-light .card-text,
.card.bg-white .card-text,
.card.bg-light .card-text {
    color: #080b3f !important;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(2, 3, 29, 0.98) !important;
    box-shadow: 0 2px 20px rgba(67, 111, 188, 0.2);
}

.navbar-nav .nav-link {
    margin: 0 0.5rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #5dd8e8;    /* ciano na linha de hover do nav */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Elegant Divider */
.elegant-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: 0 auto;
    width: 80%;
    position: relative;
}

.elegant-divider::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, transparent, rgba(236, 231, 231, 0), transparent);
    filter: blur(3px);
}

.hero-section {
    background: var(--gradient-secondary);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-section .container,
.hero-section .container-fluid {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    max-width: 850px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

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

@keyframes floatMobile {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 20px rgba(67, 111, 188, 0.4);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(149, 196, 233, 0.4);
    background: linear-gradient(135deg, #95c4e9 0%, #436fbc 50%, #333794 100%);
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    background: linear-gradient(135deg, #090b18 0%, #0d1228 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(67, 111, 188, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(149, 196, 233, 0.08) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(93, 216, 232, 0.12) !important;
    border-color: rgba(93, 216, 232, 0.25);
}

.service-card .card-body {
    color: #dce8f5;
}

.service-card .card-title {
    color: #5dd8e8;    /* ciano suave */
    font-weight: 600;
}

.service-icon {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(67, 111, 188, 0.35) !important;
}

.model-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #090b18 0%, #0d1228 100%);
    border: 1px solid rgba(67, 111, 188, 0.2);
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(93, 216, 232, 0.12) !important;
    border-color: rgba(93, 216, 232, 0.25);
}

.model-card .card-body {
    background: #090b18;
    color: #dce8f5;
}

.model-card .card-title {
    color: #5dd8e8 !important;    /* ciano suave */
    font-weight: 600;
}

.model-card .card-title.h4 {
    font-size: 1.15rem !important;
}

.model-card .card-text {
    color: #8bafd4 !important;
}

.model-card .list-unstyled li {
    color: #b8d0e8;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(67, 111, 188, 0.2);
}

.model-card .list-unstyled li:last-child {
    border-bottom: none;
}

.model-card .list-unstyled li i {
    color: #5dd8e8;    /* ciano suave nos ícones */
}

.model-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.model-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.model-image img[alt="Site para Palestrante"] {
    object-position: center 30%;
}

.page-header {
    background: var(--gradient-secondary);
    padding: 150px 0 80px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-primary {
    background: linear-gradient(135deg, #073071 0%, #333794 50%, #436fbc 100%) !important;
}

.bg-gradient-light {
    background: var(--gradient-light) !important;
    position: relative;
    color: var(--text-light);
}

.bg-gradient-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(149, 196, 233, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(67, 111, 188, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.bg-gradient-subtle {
    background: var(--gradient-subtle) !important;
    position: relative;
    color: var(--text-light);
}

.bg-gradient-subtle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(67, 111, 188, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(149, 196, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.bg-gradient-dark-professional {
    background: linear-gradient(160deg, #020203 0%, #050710 30%, #0a1128 70%, #0f1a3a 100%) !important;
    position: relative;
    color: var(--text-light);
}

.bg-gradient-dark-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(149, 196, 233, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(67, 111, 188, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(10, 17, 40, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.bg-tech-card {
    background: var(--gradient-card);
    border: 2px solid rgba(67, 111, 188, 0.3);
    background-clip: padding-box;
    position: relative;
}

.bg-tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(149, 196, 233, 0.4), rgba(67, 111, 188, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Contact Section Styling */
#contato {
    position: relative;
}

#contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(67, 111, 188, 0.04) 0%, rgba(51, 55, 148, 0.04) 100%);
    pointer-events: none;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #090b18 0%, #0d1228 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(67, 111, 188, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(93, 216, 232, 0.08);
    transform: translateY(-2px);
    border-color: rgba(93, 216, 232, 0.2);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(67, 111, 188, 0.25);
    transition: all 0.3s ease;
    background-color: rgba(5, 7, 16, 0.9);
    color: #dce8f5;
    font-size: 1rem;
}

.contact-form .form-control::placeholder {
    color: #8bafd4;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(149, 196, 233, 0.15);
    background-color: rgba(10, 14, 30, 0.95);
    transform: translateY(-1px);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 111, 188, 0.5);
}

/* Professional Container Styling */
.container {
    position: relative;
}

footer a:hover {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.back-to-top.show {
    display: flex;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.gap-3 {
    gap: 1rem !important;
}

footer .d-flex.gap-3 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
}

@media (max-width: 767px) {
    footer .col-12 {
        text-align: center;
    }
    
    footer .col-6 {
        text-align: center;
    }
    
    footer .d-flex.gap-3 {
        justify-content: center;
    }
    
    footer .list-unstyled {
        text-align: center;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #02031d;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

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

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(2, 3, 29, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }
    
    .hero-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section .col-lg-5,
    .hero-section .col-lg-7 {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 450px;
        margin: 2rem auto 0;
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 3rem;
        min-height: auto;
    }
    
    .hero-section .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section .col-lg-5,
    .hero-section .col-lg-7 {
        width: 100%;
        padding: 0;
    }
    
    .hero-image {
        max-width: 85%;
        width: 100%;
        height: auto;
        margin: 2rem auto 0;
        display: block;
        animation: floatMobile 4s ease-in-out infinite;
    }
    
    .display-3 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .service-card,
    .model-card {
        margin-bottom: 1rem;
    }
    
    /* Contact form mobile adjustments */
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .bg-white .container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 75px;
        padding-bottom: 2rem;
    }
    
    .hero-section .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-image {
        max-width: 100%;
        width: 100%;
        margin: 1.5rem auto 0;
        border-radius: 10px;
    }
    
    .display-3 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 0.75rem 1rem;
    }
    
    .model-card .display-1 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
    }
    
    /* Contact form extra small screens */
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

@media print {
    .navbar, .whatsapp-float {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .container-fluid {
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1920px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
    
    .container-fluid {
        max-width: 1800px;
    }
    
    .hero-section .row {
        justify-content: center;
    }
}

@media (min-width: 2560px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1600px;
    }
    
    .container-fluid {
        max-width: 2000px;
    }
    
    body {
        font-size: 1.1rem;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .hero-image {
        max-width: 1000px;
    }
}

/* FAQ Section Styling */
.accordion-item {
    background: linear-gradient(135deg, #090b18 0%, #0d1228 100%);
    border: 1px solid rgba(67, 111, 188, 0.18) !important;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(149, 196, 233, 0.3) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.accordion-button {
    background: linear-gradient(135deg, #0d1228 0%, #101530 100%);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 111, 188, 0.3);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(149, 196, 233, 0.15);
    border-color: var(--primary-color);
}

.accordion-button::after {
    filter: brightness(3) contrast(1.5);
    opacity: 1;
    transform: scale(1.2);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.accordion-body {
    background: #090b18;
    padding: 1.5rem;
    color: #dce8f5;
    line-height: 1.8;
    border-top: 1px solid rgba(67, 111, 188, 0.18);
}

.accordion-body strong {
    color: #5dd8e8;    /* ciano nos destaques do FAQ */
}

/* Enhanced position relative for layering */
.position-relative {
    position: relative;
    z-index: 1;
}

.position-relative > * {
    position: relative;
    z-index: 2;
}
