/* Estilos aprimorados do site ToFlow Design */

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    color: #ff0099;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #cc007a;
    text-decoration: none;
}

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

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

/* Cabeçalho */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top {
    background: linear-gradient(to right, #ff0099, #ff4d94);
    color: #fff;
    padding: 8px 0;
}

.header-top a {
    color: #fff;
    font-weight: 500;
}

.header-top a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.header-contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-contact-item {
    margin-left: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.header-contact-item i {
    margin-right: 8px;
    font-size: 16px;
}

.logo {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.logo img {
    max-height: 65px;
    transition: all 0.3s ease;
}

/* Menu de navegação */
.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 90px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0;
    display: block;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ff0099;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff0099;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 5px;
    padding: 10px 0;
}

.main-nav li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    margin: 0;
    width: 100%;
}

.main-nav .dropdown-menu a {
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.main-nav .dropdown-menu a:after {
    display: none;
}

.main-nav .dropdown-menu a:hover {
    background-color: #f9f9f9;
    padding-left: 25px;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Banner principal */
.hero-banner {
    background-image: url('../images/slideshow/s1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-banner p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    line-height: 1.8;
}

.hero-banner p strong {
    font-weight: 600;
    font-size: 22px;
    display: block;
    margin-bottom: 15px;
}

/* Seções */
section {
    padding: 90px 0;
    position: relative;
}

section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

section h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #ff0099;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

section h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 35px;
    text-align: center;
}

section p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

/* Chamada para ação */
.cta-section {
    background: linear-gradient(135deg, #ff0099, #ff4d94);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: url('../images/pattern.png');
    opacity: 0.05;
    animation: rotate 60s linear infinite;
}

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

.cta-section h2 {
    font-size: 30px;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-section h2:after {
    background: #fff;
}

.cta-section h3 {
    font-size: 24px;
    margin-bottom: 35px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-section .btn {
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sobre nós */
.about-section {
    background-color: #f9f9f9;
    position: relative;
}

.about-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../images/dots.png');
    opacity: 0.05;
}

.features-row {
    margin-top: 60px;
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-box:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #ff0099, #ff4d94);
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 0.9;
}

.feature-box:hover {
    transform: translateY(-15px);
}

.feature-box:hover:before {
    height: 100%;
}

.feature-box:hover h4,
.feature-box:hover p {
    color: #fff;
}

.feature-box:hover .feature-icon {
    background-color: #fff;
    color: #ff0099;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff0099, #ff4d94);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 153, 0.3);
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-box p {
    transition: all 0.4s ease;
}

/* Contador */
.counter-section {
    background-image: url('../images/background/bg-counter.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    padding: 100px 0;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.counter-row {
    position: relative;
    margin-top: 60px;
}

.counter-box {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
}

.counter-icon {
    font-size: 48px;
    margin-bottom: 25px;
    color: #ff0099;
    text-shadow: 0 0 20px rgba(255, 0, 153, 0.5);
}

.counter-box h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.counter-box p {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Serviços */
.services-section {
    background-color: #fff;
}

.services-row {
    margin-top: 50px;
    margin-bottom: 50px;
}

.service-box {
    padding: 40px 30px;
    border: none;
    border-radius: 10px;
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-box:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff0099, #ff4d94);
    top: 0;
    left: 0;
    transition: all 0.4s ease;
}

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

.service-box:hover:before {
    height: 10px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff0099, #ff4d94);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(255, 0, 153, 0.3);
}

.service-box h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.service-box h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: #ff0099;
    bottom: 0;
    left: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list a {
    color: #555;
    transition: all 0.3s ease;
    display: block;
    padding-left: 20px;
    position: relative;
}

.service-list a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ff0099;
    transition: all 0.3s ease;
}

.service-list a:hover {
    color: #ff0099;
    padding-left: 25px;
}

.service-list a:hover:before {
    left: 5px;
}

/* Portfólio */
.portfolio-section {
    background-color: #f9f9f9;
    position: relative;
}

.portfolio-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../images/pattern-light.png');
    opacity: 0.05;
}

.portfolio-grid {
    margin-top: 60px;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-box img {
    transition: all 0.5s ease;
    width: 100%;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.9), rgba(255, 77, 148, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    padding: 30px;
    text-align: center;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-box:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    opacity: 0;
}

.portfolio-box:hover .portfolio-overlay h5 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay .btn {
    margin-top: 15px;
    transform: translateY(20px);
    transition: all 0.5s ease;
    opacity: 0;
}

.portfolio-box:hover .portfolio-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

/* Depoimentos */
.testimonials-section {
    background-color: #fff;
}

.testimonial-box {
    text-align: center;
    padding: 50px 40px;
    border: none;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-box:before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 24px;
    color: #ff0099;
    opacity: 0.2;
}

.testimonial-box:after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 24px;
    color: #ff0099;
    opacity: 0.2;
}

.testimonial-box h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-box h5 {
    font-size: 18px;
    color: #ff0099;
    margin-bottom: 25px;
}

.testimonial-box p {
    font-style: italic;
    font-size: 17px;
    line-height: 1.8;
}

/* Chamada para ação final */
.cta-section-bottom {
    background: linear-gradient(to right, #333, #444);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-bottom:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../images/pattern-dark.png');
    opacity: 0.1;
}

/* Rodapé */
.main-footer {
    background-color: #222;
    color: #fff;
    padding: 90px 0 0;
    position: relative;
}

.main-footer:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #ff0099, #ff4d94);
}

.main-footer h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.main-footer h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: #ff0099;
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    transition: all 0.3s ease;
    display: block;
    padding-left: 20px;
    position: relative;
}

.footer-links a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ff0099;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff0099;
    padding-left: 25px;
}

.footer-links a:hover:before {
    left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 20px;
    color: #ccc;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: #ff0099;
    font-size: 18px;
    margin-top: 3px;
}

.social-links {
    margin-top: 25px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff0099, #ff4d94);
    color: #fff;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 14px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(to right, #ff0099, #ff4d94);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 0, 153, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, #ff0099, #ff0099);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 0, 153, 0.4);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #ff0099;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-5px);
}

.whatsapp-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #fff;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-large:hover {
    background-color: #128c7e;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-8px);
}

.whatsapp-btn i,
.whatsapp-btn-large i {
    margin-right: 10px;
    font-size: 20px;
}

/* Whatsapp flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* Animações */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 1199px) {
    .main-nav li {
        margin-left: 20px;
    }
    
    .main-nav a {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .main-header {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-nav {
        height: auto;
        padding: 15px 0;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
        width: 100%;
    }
    
    .main-nav a {
        padding: 10px 0;
    }
    
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }
    
    .main-nav .dropdown-menu.active {
        display: block;
    }
    
    .main-nav .dropdown-menu a {
        padding: 8px 0;
        border-bottom: none;
    }
    
    .hero-banner {
        padding: 100px 0 80px;
    }
    
    .hero-banner h1 {
        font-size: 36px;
    }
    
    .hero-banner p {
        font-size: 18px;
    }
    
    section {
        padding: 70px 0;
    }
    
    section h2 {
        font-size: 32px;
    }
    
    section h3 {
        font-size: 22px;
    }
    
    .counter-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .header-contact {
        justify-content: center;
    }
    
    .header-contact-item {
        margin: 0 10px;
        font-size: 12px;
    }
    
    .logo {
        text-align: center;
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .hero-banner {
        padding: 80px 0 60px;
    }
    
    .hero-banner h1 {
        font-size: 28px;
    }
    
    .hero-banner p {
        font-size: 16px;
    }
    
    section {
        padding: 50px 0;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    section h3 {
        font-size: 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-section h3 {
        font-size: 18px;
    }
    
    .feature-box,
    .service-box {
        margin-bottom: 30px;
    }
    
    .main-footer {
        padding: 50px 0 0;
    }
    
    .main-footer h4 {
        margin-top: 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .whatsapp-btn-large {
        padding: 15px 25px;
        font-size: 16px;
    }
}
