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

:root {
    --brand-red: #9b0101;
    --brand-red-hover: #7a0101;
    --text-black: #000000;
    --text-gray-600: #4b5563;
    --text-gray-700: #374151;
    --text-gray-800: #1f2937;
    --text-gray-500: #6b7280;
    --text-gray-300: #d1d5db;
    --text-gray-400: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-100: #f3f4f6;
    --bg-black: #000000;
    --yellow-400: #fbbf24;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-black);
    background: var(--bg-white);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--bg-black);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ef4444;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray-50) 50%, var(--bg-gray-100) 100%);
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray-600);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.625rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--brand-red-hover);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.hero-images {
  overflow: hidden; 
  border-radius: 12px; 
}

.hero-images .hero-img,
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px; 
  object-fit: cover; 
  box-shadow: 0 6px 20px rgba(0,0,0,0.12); 
}

@media (max-width: 768px) {
    .hero-img {
        height: 350px; 
    }
}



.hero-image-main {
    position: relative;
    z-index: 10;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image-main:hover {
    transform: rotate(0deg);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    background: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--brand-red);
    opacity: 0.6;
    mix-blend-mode: multiply;
}
.hero-image-secondary {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: rotate(-10deg);
    transition: transform 0.5s ease;
}

/* Benefits */
.benefits {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--brand-red);
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.benefit-number {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.benefit-text {
    color: var(--text-gray-600);
    line-height: 1.625;
    font-size: 1.5rem;
}

.differentials-grid {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.differential-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-gray-50);
    border-radius: 0.5rem;
    transition: box-shadow 0.3s ease;
}

.differential-item:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.differential-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.differential-text {
    color: var(--text-gray-700);
    line-height: 1.625;
    font-size: 1.5rem;
}

/* Portfolio */
.portfolio-img:hover {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1rem;
}

.portfolio-title {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-gray-800);
}

/* Navegação do Carrossel */
.portfolio-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    padding: 0.75rem;
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    background: var(--bg-white);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: var(--text-gray-400);
    transform: scale(1.1);
}

.nav-dot.active {
    background: var(--brand-red);
    transform: scale(1.2);
}


.portfolio-carousel.no-transition {
    transition: none;
}

.portfolio-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    color: var(--text-gray-500);
}

/* Testimonials */
.testimonials {
    padding: 1rem 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-item {
    background: var(--bg-gray-50);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.testimonial-item:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--brand-red);
    opacity: 0.2;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--yellow-400);
    fill: currentColor;
}

.testimonial-text {
    color: var(--text-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.625;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.author-name {
    margin-bottom: 0.25rem;
}

.author-course {
    color: var(--brand-red);
    font-size: 0.875rem;
}

.author-year {
    color: var(--text-gray-500);
    font-size: 0.875rem;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: var(--bg-grey-200); 
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
}

.cta-title {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-title h2 {
    font-size: 1.875rem;
    color: var(--text-black); 
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title h2 {
        font-size: 2.25rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray-600); 
}

.cta-form {
    background: var(--bg-white); 
    border-radius: 1rem;
    padding: 2.5rem; 
    border: 1px solid var(--text-gray-300); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); 
}


.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    color: var(--text-gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    background: var(--bg-white); 
}

.form-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(155, 1, 1, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-submit {
    width: 100%;
    background: var(--brand-red);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--brand-red-hover);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Utility Classes */
.text-red { color: var(--brand-red); }
.text-black { color: var(--text-black); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.portfolio {
    padding: 5rem 0;
    background: var(--bg-gray-50);
}








.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}


@media (max-width: 1024px) {
    .portfolio-item {
        flex-basis: calc(100% / 2); 
    }
}


@media (max-width: 767px) {
    .portfolio-item {
        flex-basis: 100%; 
    }
}


.nav-dot:hover {
    background-color: var(--text-gray-400);
}

.nav-dot.active {
    background-color: var(--brand-red);
    transform: scale(1.25);
}


.footer {
    background: var(--bg-black);
    color: var(--bg-white);
    padding: 3rem 0; 
}

.footer-grid {
    display: grid;
    gap: 2rem; 
}


@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    color: var(--brand-red); 
    font-weight: bold;
}

.footer-description {
    color: var(--text-gray-300);
    line-height: 1.625; 
}

.footer-heading {
    font-size: 1.125rem; 
    margin-bottom: 1rem; 
    font-weight: 500;
}

.footer-list {
    list-style: none; 
    padding: 0;
    margin: 0;
    color: var(--text-gray-300);
}

.footer-list li + li {
    margin-top: 0.5rem; 
}

.footer-contact {
    color: var(--text-gray-300);
}

.footer-contact p + p {
    margin-top: 0.5rem; 
}

.footer-divider {
    border-top: 1px solid #374151; 
    margin-top: 2rem;
    padding-top: 2rem; 
}

.footer-copyright {
    text-align: center;
    color: var(--text-gray-400);
    font-size: 0.875rem;
}


.whatsapp-float {
    position: fixed; 
    bottom: 20px;    
    right: 20px;     
    z-index: 1000;   
    

    width: 100px;
    height: 100px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    

    display: flex;
    align-items: center;
    justify-content: center;
    

    transition: transform 0.3s ease;
    text-decoration: none; 
    cursor: pointer;
    pointer-events: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1); 
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: #fff; 
    pointer-events: none;
}


.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background-color: #ff3b30;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: bounce-subtle 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


.tooltip-text {
    position: absolute;
    right: 100%; 
    margin-right: 15px; 
    
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    width: max-content; 
    text-align: left;
    
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    
    transition: all 0.3s ease;
    pointer-events: none;
}

.tooltip-text strong {
    color: #333;
    display: block;
    font-size: 1rem;
}

.tooltip-text p {
    color: #666;
    font-size: 0.875rem;
    margin: 4px 0 0;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}


@media (max-width: 768px) {
    .tooltip-text {
        display: none;
    }
    
    .whatsapp-float {
        width: 60px;    
        height: 60px;   
        bottom: 15px;   
        right: 15px;    
    }
    
    .whatsapp-icon {
        width: 28px;   
        height: 28px;   
    }
    
    .notification-badge {
        width: 18px;    
        height: 18px;   
        font-size: 12px; 
        top: -3px;      
        right: -3px;    
    }
}


@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;    
        height: 55px;   
        bottom: 12px;   
        right: 12px;    
    }
    
    .whatsapp-icon {
        width: 26px;    
        height: 26px;   
    }
    
    .notification-badge {
        width: 16px;    
        height: 16px;   
        font-size: 11px; 
    }
}



.swiper-button-next,
.swiper-button-prev {
    color: var(--brand-red);
}


.swiper-pagination-bullet {
    background: var(--text-gray-400);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--brand-red);
}


.swiper {
    position: relative;
    padding: 0 40px;
}


.swiper-button-next,
.swiper-button-prev {
   
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 44px;
    height: 44px;
    background-color: var(--bg-white);
    border: 2px solid var(--brand-red);
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--brand-red);
}


.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem; 
    font-weight: bold;
    color: var(--brand-red); 
    transition: color 0.3s ease;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: var(--bg-white);
}

.swiper-button-prev {
    left: 10px; 
}

.swiper-button-next {
    right: 10px;
}


@media (max-width: 767px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}