/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: hsl(240, 17%, 4%);
    --foreground: hsl(0, 0%, 95%);
    --card: hsl(240, 15%, 8%);
    --primary: hsl(0, 91%, 60%);
    --secondary: hsl(217, 91%, 60%);
    --muted: hsl(240, 10%, 15%);
    --muted-foreground: hsl(0, 0%, 65%);
    --border: hsl(240, 15%, 15%);

    --glow-red: 0 0 40px hsl(0 91% 60% / 0.4);
    --glow-blue: 0 0 40px hsl(217 91% 60% / 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

section {
    margin-bottom: 50px;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

hr {
    border: none;
    height: 1px;
    width: 85%;
    margin: 3rem auto;
    background: linear-gradient(90deg, #ff4b2b, #ff416c, #6a11cb, #2575fc);
    border-radius: 2px;
    opacity: 0.5;
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.delay-4 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 72px;
    box-sizing: border-box;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--glow-red);
}

.btn-primary:hover {
    background-color: hsl(0, 91%, 55%);
    transform: translateY(-2px);
}

.btn-hero {
    padding: 1.25rem 2rem;
    font-size: 1rem;
    text-decoration: none;
}

.btn-hero:hover svg {
    transform: translateX(4px);
}

.btn-hero svg {
    transition: transform 0.3s ease;
}

.btn-cta {
    padding: 1.5rem 2.5rem;
    font-size: 1.125rem;
}

.btn-mobile {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    background-color: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

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

.logo-icon img {
    width: 200px;
    height: auto;
}

.logo-icon span {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--foreground);
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-desktop a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: #F52424;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-desktop {
    display: flex;
    justify-content: unset;
    text-decoration: none;
}

.icone-contato {
    color: white;
    font-size: 18px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.close-icon {
    display: none;
}

.menu-toggle.active .menu-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 0 0.5rem;
    animation: fade-in 0.3s ease-out;
    background-color: black tra;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-mobile a:hover {
    color: var(--foreground);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), rgba(11, 11, 15, 0.95), var(--background));
}


.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), rgba(11, 11, 15, 0.95), var(--background));
}


.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), rgba(11, 11, 15, 0.95), var(--background));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    padding: 0 1.5rem;
}

.hero-title {
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
    width: 100%;
    transform: translateY(20 px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    margin-top: 5%;
}

.whatsapp-float {
    position: fixed; 
    bottom: 30px;    
    right: 30px;     
    z-index: 1000;  
    background-image: linear-gradient(var(--card), var(--card)), linear-gradient(135deg, var(--primary), var(--secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-size: 1.8rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;   
}

/* Estilos para o ícone dentro do botão */
.whatsapp-float i {
    line-height: 1;          
    display: block;      
}

.whatsapp-float:hover {
    background-color: #1EBE5D;
    transform: scale(1.1); /* Aumenta o tamanho do botão */
}

@media (min-width: 768px) {
    .whatsapp-float {
        display: none;
    }
}


.hero-title .text-gradient {
    font-size: 4.8rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2.5rem;
    text-align: center;
    width: 100%;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
}

.section-header .text-gradient {
    font-size: 3.5rem;
}

@media (max-width: 768px) {

    .hero-title .text-gradient {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0rem;
    }

    .section-header .text-gradient {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem !important;
    }

}


@media (min-width: 768px) and (max-width: 1024px) {

    .hero-title .text-gradient {
        font-size: 4.0rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .section-header .text-gradient {
        font-size: 2.8rem;
    }

    .section-header p {
        font-size: 1.3rem !important;
    }

}

/* diferencial */
.intelligence-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.intelligence-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.intelligence-content p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    text-align: start;
    --muted-foreground: hsl(0 0% 85% / 1);
}

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

    .intelligence-content h2 {
        font-size: 3rem;
    }
}

/* diferencial */
.differential-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.differential-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.differential-content p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: start;
    --muted-foreground: hsl(0 0% 85% / 1);
}

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

    .differential-content h2 {
        font-size: 3rem;
    }
}

/* foco */
.focus-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.focus-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.focus-content p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: start;
    --muted-foreground: hsl(0 0% 85% / 1);
}

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

    .focus-content h2 {
        font-size: 3rem;
    }
}


/* Pillars Section */
.pillars {
    position: relative;
}

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

.section-header p {
    font-size: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pillars-grid {
    display: grid;
    gap: 1.5rem;
}

.pillar-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    background-image: linear-gradient(var(--card), var(--card)), linear-gradient(135deg, var(--primary), var(--secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;

}

.pillar-card:hover {
    transform: scale(1.05);
    border-color: hsl(0, 91%, 60%, 0.5);
    box-shadow: var(--glow-red);
}

.pillar-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.pillar-card p {
    text-align: start;
    --muted-foreground: hsl(0 0% 85% / 1);
}

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

.pillar-icon svg {
    stroke: var(--primary);
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.pillar-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

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

    .section-title {
        font-size: 3rem;
    }
}

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

/* Solutions Section */
.solutions {
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 50rem;
    margin: 0 auto;
}

.solutions-grid {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.5rem;
}

.solution-card {
    width: 20%;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background-image: linear-gradient(var(--card), var(--card)), linear-gradient(135deg, var(--primary), var(--secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: var(--transition);
}

.solution-card:hover {
    transform: scale(1.05);
    border-color: hsl(0, 91%, 60%, 0.5);
    box-shadow: var(--glow-red);
}

.solution-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.solution-icon svg {
    stroke: var(--primary);
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.solution-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

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

    .section-title {
        font-size: 3rem;
    }
}

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


/* Vision Section */
.vision {
    position: relative;
    overflow: hidden;
}

.vision-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.vision-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.vision-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.vision-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.image-wrapper {
    overflow: hidden;
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: auto;
    margin-bottom: 50px;

}

.comparativo_final {
    margin-top: 4%;
}

.image-wrapper img {
    max-width: 100%;
    max-height: 60%;
    display: block;
    object-fit: contain;
    border-radius: 1rem;
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(top, rgba(202, 202, 204, 0.8));
}

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

    .vision-content h2 {
        font-size: 3rem;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(14, 14, 19, 0.6);
    backdrop-filter: blur(6px);
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.footer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    justify-content: space-between;
    align-items: flex-start;
    text-align: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-grid .marca {
    width: 40%;
}

#infos p:first-of-type {
    margin-top: 0;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-description {
    display: flex;
    font-size: 0.95rem;
    color: var(--muted-foreground);
    text-align: start;
}

.footer-head-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    position: relative;

}

.footer-head-link::after {
    content: "";
    display: block;
    height: 2px;
    background: var(--primary);
    margin-top: 0.5rem;
    border-radius: 2px;
    width: 10%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 20%;

}

.footer-links li {
    margin-bottom: 0.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

#infos {
    width: 20%;
}

#infos p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    text-align: start;

}

.contato-social-list {
    display: flex;
    gap: 1rem;
    list-style: none;


}

.contato-social-list i {
    font-size: 14px;
    margin-right: 15px;
}

.contato-social-list span {
    font-size: 14px;
}

.footer-grid .logo {
    width: 30%;
    display: flex;
    justify-content: start;
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid var(--border);
    text-align: center;
    padding-top: 1.5rem;
    width: 100%;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* Responsividade footer*/
/* Tablets (até 992px) */
@media (max-width: 992px) {

    .footer-grid {
        gap: 2.5rem;
    }

    .footer-grid .marca {
        width: 100%;
        text-align: center;
    }

    .footer-links,
    #infos {
        width: 45%;
    }

    .footer-description {
        text-align: center;
        margin: 0 auto;
        max-width: 80%;
    }

    .contato-social-list {
        justify-content: center;
    }
}

/* Celulares (até 600px) */
@media (max-width: 600px) {

    .footer-grid {
        gap: 2.5rem;
    }

    .footer-grid .marca {
        width: 100%;
        text-align: center;
    }

    .footer-links,
    #infos {
        width: 45%;
    }

    .footer-description {
        text-align: center;
        margin: 0 auto;
        max-width: 80%;
    }

    .contato-social-list {
        justify-content: center;
    }
}

/* Celulares (até 600px) */
@media (max-width: 600px) {
    .footer {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }

    .marca .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-grid .marca,
    .footer-links,
    #infos {
        width: 100%;
        text-align: center;
    }

    .footer-description,
    .footer-links a,
    #infos p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-head-link::after {
        margin-left: auto;
        margin-right: auto;
        width: 15%;
    }

    .footer-description {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .contato-social-list {
        justify-content: center;
    }

    .footer-logo img {
        width: 70px;
    }

    .footer-copyright p {
        font-size: 0.8rem;
        text-align: center;
    }

}

@media (max-width: 768px) {

    hr {
        width: 70% !important;
    }

    * {
        box-sizing: unset;
    }

    section {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .cta {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    #objetivo .container {
        padding-top: 60px;
    }

    .diferenca-card {
        width: 75% !important;
    }

    .vision-image {
        display: none;
        visibility: hidden;
    }

    .solution-card {
        width: 100%;
    }

    .text-gradient {
        font-size: 50px;
    }

    .btn-desktop {
        display: none;
        visibility: hidden;
    }

}

i {
    font-size: 25px;
    color: #f63c3c;
}

.item {
    color: white;
    font-size: 15px;
    margin-right: 5px;
}

.objetivo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 15, 0.5), transparent);
}

.metodoCs {
    margin-bottom: 5px !important;
}

.cicloSistemico {
    margin-bottom: 20px;
    font-size: 25px;
}

.diferenca-flex {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.9rem;
    margin-top: 80px;
}

.diferenca-card {
    width: 19%;
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: var(--transition);
    background-image: linear-gradient(var(--card), var(--card)), linear-gradient(135deg, var(--primary), var(--secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
}

.diferenca-card:hover {
    border-color: hsl(0, 91%, 60%, 0.5);
    box-shadow: var(--glow-red);
    transform: scale(1.15);
}

.diferenca-card:hover span {
    transform: scale(1.2);
    transition: 0.3s ease-out;
}

.diferenca-card span {
    display: block;
    font-size: 50px;
    text-align: center;
}

.fa-chevron-right {
    background: linear-gradient(0deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diferenca-card h3 {
    text-align: center;
}

.delay-5 {
    animation-delay: 0.5s;
    opacity: 0;
}

.delay-6 {
    animation-delay: 0.6s;
    opacity: 0;
}

.delay-7 {
    animation-delay: 0.7s;
    opacity: 0;
}