/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1E2749;
    overflow-x: unset;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #1E2749;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4ECDC4;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #4ECDC4;
}

.btn-agendar {
    display: inline-block;
    background: #3A5CA8;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(58, 92, 168, 0.3);
    margin-top: 20px;
}

.btn-agendar:hover {
    background: #1E2749;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 39, 73, 0.4);
}

.btn-agendar-header {
    padding: 8px 18px;
    font-size: 1rem;
    border-radius: 20px;
    margin-top: 0;
    box-shadow: 0 4px 15px rgba(58, 92, 168, 0.15);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #3A5CA8 0%, #5CA8E6 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="30" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="25" fill="rgba(255,255,255,0.05)"/></svg>');
}

.hero-shapes::before,
.hero-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-shapes::before {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.hero-shapes::after {
    width: 150px;
    height: 150px;
    bottom: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite reverse;
    will-change: transform;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 119px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.highlight {
    color: #4ECDC4;
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #3A5CA8;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(58, 92, 168, 0.3);
    margin-top: 20px;
}

.btn-primary:hover {
    background: #1E2749;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 39, 73, 0.4);
}

.btn-primary span {
    margin-right: 10px;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

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

.hero-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s, transform 0.6s;
}
.hero-text.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Services Section */
.services {
    padding: 100px 0 40px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1E2749;
    margin-bottom: 80px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-card.reverse .service-content {
    order: 2;
}

.service-card.reverse .service-image {
    order: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.service-content h3 {
    font-size: 2rem;
    color: #1E2749;
    margin-bottom: 20px;
}

.service-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 40px 0 40px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .btn-agendar {
    display: inline-block;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #4ECDC4;
    margin-bottom: 30px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #4ECDC4;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: #4ECDC4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 140px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 140px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #4ECDC4;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 20px 0 40px 0;
    background: linear-gradient(135deg, #3A5CA8 0%, #5CA8E6 100%);
    max-width: 1200px;
    width: 95vw;
    margin: 60px auto 100px auto;
    border-radius: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 24px;
    border-radius: 35px;
    background: transparent;
    box-sizing: border-box;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(30,39,73,0.2);
}

.about-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(30,39,73,0.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #3A5CA8 0%, #5CA8E6 100%);
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
}

.contact-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4ECDC4;
}

.footer-info p,
.footer-contact p {
    margin-bottom: 8px;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #999;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        display: flex;
    }

    .btn-agendar-header {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
    }

    .hero-image img {
        animation: fadeInUpMobile 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .service-card,
    .service-card.reverse {
        display: flex !important;
        flex-direction: column !important;
    }
    .service-card .service-image,
    .service-card.reverse .service-image {
        order: -1;
    }
    .service-card .service-content,
    .service-card.reverse .service-content {
        order: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .services h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 60px;
    }

    .timeline-number {
        left: 30px !important;
        top: -50px !important;
        transform: translateX(-50%) !important;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        margin-top: 20px !important;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .services h2 {
        font-size: 1.5rem;
        margin-bottom: 50px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}

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

@media (max-width: 700px) {
  .about {
    max-width: 95vw;
    padding: 20px 0 40px 0;
    border-radius: 20px;
  }
  .about-content {
    padding: 15px;
    border-radius: 20px;
  }
}

.reviews-carousel-outer {
  position: relative;
  max-width: 1400px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  padding: 0 80px;
}
.reviews-carousel {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  gap: 2%;
}
.review-card {
  flex: 0 0 calc(25% - 1.5%);
  max-width: calc(25% - 1.5%);
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  word-break: break-word;
  overflow: visible;
}
.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #eee;
}
.review-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}
.review-author {
  font-weight: bold;
  color: #4285F4;
  margin-bottom: 2px;
}
.review-stars {
  color: #FFD600;
  font-size: 1.1em;
  letter-spacing: 1px;
}
.review-text {
  color: #333;
  font-size: 0.95em;
  margin-top: 8px;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
  hyphens: auto;
}
.carousel-arrow {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-arrow.left {
  left: 0;
}
.carousel-arrow.right {
  right: 0;
}
.carousel-arrow:active { background: #f0f0f0; }
.carousel-indicators {
  display: none;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
  width: 100%;
}
.carousel-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s;
}
.carousel-indicators .dot.active {
  background: #4285F4;
}
@media (max-width: 900px) {
  .review-card { 
    flex: 0 0 80%; 
    max-width: 80%; 
  }
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .container {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .reviews-carousel-outer {
    padding: 0;
    margin: 20px auto;
    max-width: 100%;
    flex-direction: column;
    overflow: hidden;
  }
  
  .reviews-carousel {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    order: 1;
  }
  
  .carousel-track {
    display: flex;
    width: 100%;
    gap: 0;
  }
  
  .review-card {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .carousel-arrow { 
    display: none; 
  }
  
  .carousel-indicators { 
    display: flex; 
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
    order: 2;
  }
  
  .carousel-indicators .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .carousel-indicators .dot.active {
    background: #4285F4;
  }
}