
:root {
    --primary-color: #702e2e;
    --secondary-color: #000000;
    --accent-color: #f093fb;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}


@media (max-width: 505px) {
  body::before {
    left: 0;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    background-size: 30px 30px !important;
    overflow-x: hidden !important;
  }
}

/* Esconder em telas menores */
@media (max-width: 768px) {
  html, body {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body::before {
    left: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    background-size: 30px 30px !important;
    overflow-x: hidden !important;
  }
}

/* Esconder em telas menores */
@media (max-width: 510px) {
  body {
    width: 100vw;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 450px) {
  body {
    width: 100vw;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

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

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-brand img {
    width: 50px;
    border-radius: 15px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* Offer Section */
.offer-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
}

.offer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f9ff, white);
}

.about-image {
    overflow: hidden;
    width: 100%;
    border-color: #000000;
}

.about-image img {
    width: 400px;
    transition: var(--transition);
    border-radius: 20px;
}

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

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.experience-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: white;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-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: white;
    font-size: 2rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f9ff, white);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.9;
}

.portfolio-overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

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

.testimonial-stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.carousel-item .testimonial-card {
  margin: auto;
  max-width: 90%;
  padding: 40px 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-item .testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-size: 100% 100%;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

/* ---------- TESTIMONIAL CAROUSEL (MOBILE) ---------- */

#testimonialCarousel .testimonial-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  max-width: 90%;
  margin: auto;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#testimonialCarousel .testimonial-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ff000033; /* Slightly lighter blue border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  margin-bottom: 1.3rem;
  transition: transform 0.3s ease;
}

#testimonialCarousel .testimonial-avatar img:hover {
  transform: scale(1.05);
}

#testimonialCarousel .testimonial-stars i {
  color: #f8b400;
  font-size: 1.3rem;
  margin: 0 2px;
  transition: color 0.3s ease;
}

#testimonialCarousel .testimonial-stars i:hover {
  color: #ffca28; /* Slightly brighter star on hover */
}

#testimonialCarousel .testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1.8rem;
  font-family: 'Georgia', serif;
}

#testimonialCarousel .testimonial-meta {
  font-weight: 700;
  font-size: 1.1rem;
  color: #222;
  letter-spacing: 0.03em;
}

#testimonialCarousel .testimonial-meta small {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-style: normal;
  margin-top: 4px;
}

/* Carousel controls */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  padding: 12px;
  width: 44px;
  height: 44px;
  transition: background-color 0.3s ease;
}

#testimonialCarousel .carousel-control-prev-icon:hover,
#testimonialCarousel .carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.85);
}

/* Slide transition effect */
#testimonialCarousel .carousel-item {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional: indicators (bullets) */
#testimonialCarousel .carousel-indicators [data-bs-target] {
  background-color: #ff0000;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.6;
  margin: 0 6px;
  transition: opacity 0.3s ease;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 1.5rem;
    z-index: 999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-title p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}