:root {
    --primary-color: #FF7F00; /* Laranja */
    --primary-light: #FFA64D;
    --primary-dark: #CC6600;
    --secondary-color: #6C757D; /* Cinza */
    --secondary-light: #ADB5BD;
    --secondary-dark: #495057;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark: #343A40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light-gray);
}

/* Header */
.navbar {
    padding: 10px 0;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.25);
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 80px;
    padding: 5px 0;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--secondary-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

.cta-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .cta-btn {
        margin-top: 10px;
    }
}

.cta-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background: #ffffff;
    color: var(--dark);
    padding: 100px 0 120px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 127, 0, 0.08);
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 127, 0, 0.05);
    z-index: 1;
    animation: float 10s ease-in-out infinite alternate;
}

/* Add decorative elements */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 15px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #FF8C00, #FF4500);
    z-index: 2;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 15px;
    left: 0;
    background: rgba(255, 127, 0, 0.3);
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.hero-logo {
    flex-shrink: 0;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transform: scale(1);
    transition: transform 0.5s ease;
    animation: fadeInLeft 1s ease-out;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-logo img {
    max-width: 250px;
    height: auto;
}

.hero-text {
    text-align: left;
    color: #333;
    animation: fadeInRight 1s ease-out;
    max-width: 560px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FF6347;
    background: linear-gradient(135deg, #FF8C00, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 69, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #444;
    font-weight: 500;
}

/* Modified buttons for hero section */
.hero-section .btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FF4500);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.4);
}

.hero-section .btn-secondary {
    background-color: transparent;
    border: 2px solid #FF8C00;
    color: #FF6347;
}

.hero-section .btn-secondary:hover {
    background-color: rgba(255, 140, 0, 0.1);
    color: #FF4500;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments for hero section */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-logo img {
        max-width: 180px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-logo img {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.alert-primary {
    background-color: rgba(255, 127, 0, 0.15);
    border-color: rgba(255, 127, 0, 0.3);
    color: var(--primary-dark);
}

.btn-primary {
    background-color: var(--white);
    border-color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--primary-dark);
}

.cta-section .btn-primary {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 127, 0, 0.3);
    color: var(--white);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Service Cards */
.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 15px;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.service-title {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* CTA Section */
.cta-section {
    background: #ffffff;
    padding: 80px 0;
    color: var(--dark);
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin: 60px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 127, 0, 0.08);
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 127, 0, 0.05);
    z-index: 1;
    animation: float 10s ease-in-out infinite alternate;
}

.cta-decoration {
    position: absolute;
    width: 100%;
    height: 15px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #FF8C00, #FF4500);
    z-index: 2;
}

.cta-decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 15px;
    left: 0;
    background: rgba(255, 127, 0, 0.3);
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.1);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.cta-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cta-image {
    flex: 0 0 200px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    animation: fadeInLeft 1s ease-out;
}

.cta-image img {
    max-width: 100%;
    height: auto;
}

.cta-content {
    flex: 1;
    text-align: left;
    animation: fadeInRight 1s ease-out;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FF6347;
    background: linear-gradient(135deg, #FF8C00, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 69, 0, 0.1);
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    color: #444;
    line-height: 1.6;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FF4500);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.cta-section .btn-primary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.4s ease;
}

.cta-section .btn-primary:hover::after {
    left: 100%;
}

/* Responsive adjustments for CTA Section */
@media (max-width: 991px) {
    .cta-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .cta-container {
        padding: 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
        margin: 30px 0;
    }
    
    .cta-container {
        padding: 25px 20px;
    }
    
    .cta-image {
        flex: 0 0 150px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-section .btn-primary {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .cta-container {
        padding: 20px 15px;
    }
    
    .cta-image {
        flex: 0 0 120px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.about-list li {
    padding: 8px 0;
    font-size: 1.1rem;
}

.about-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 15px;
    }
}

.form-control {
    border: 1px solid var(--secondary-light);
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 127, 0, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Consultoria Page */
.consultoria-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.consultoria-img {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

/* CTA Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.cta-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-visible .cta-title,
.cta-visible .cta-text {
    animation: text-focus-in 0.8s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.cta-visible .btn-primary {
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-brand img {
        max-height: 70px;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        position: relative;
        z-index: 1029;
        top: 15px;
    }
    
    .nav-item {
        margin-bottom: 5px;
    }
    
    header {
        margin-bottom: 20px;
    }
    
    .service-card {
        margin-bottom: 25px;
    }
    
    .cta-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .cta-container {
        padding: 30px;
    }
    
    .cta-title {
        font-size: 2.4rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar > .container {
        position: relative;
    }
    
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1030;
    }
    
    .navbar-brand img {
        max-height: 65px;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 1031;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .about-list li {
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    footer {
        text-align: center;
    }
    
    footer .text-end {
        text-align: center !important;
        margin-top: 15px;
    }
    
    .cta-section {
        padding: 50px 0;
        margin: 30px 0;
    }
    
    .cta-container {
        padding: 25px 20px;
    }
    
    .cta-section .btn-primary {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 60px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mt-4, .mt-5 {
        margin-top: 1.5rem !important;
    }
    
    .mb-4, .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    input, select, textarea {
        min-height: 44px;
    }
    
    .cta-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .cta-container {
        padding: 20px 15px;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, 15px) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes text-focus-in {
    0% {
        filter: blur(8px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}
