/* =========================================================
   A.M.E TECNOLOGIA
   STYLE.CSS COMPLETO

   Compatível com:
   - Layout One Page
   - Banner com vídeo
   - Menu fixo
   - Menu mobile
   - 12 funcionalidades
   - Integrações
   - Segmentos
   - Benefícios
   - Implantação
   - Diferenciais
   - FAQ corrigido
   - CTA
   - Footer
   - WhatsApp flutuante
   - Layout responsivo
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Inter", sans-serif;
    color: #242424;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

    --primary: #2771B6;
    --primary-dark: #01295C;
    --primary-light: #DA740C;

    --primary-rgb: 39, 113, 182;

    --dark: #111111;
    --dark-secondary: #1b1b1b;
    --dark-light: #292929;

    --gray-900: #242424;
    --gray-800: #333333;
    --gray-700: #555555;
    --gray-600: #666666;
    --gray-500: #888888;
    --gray-400: #aaaaaa;
    --gray-300: #d5d5d5;
    --gray-200: #e9e9e9;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;

    --white: #ffffff;

    --container: 1240px;

    --header-height: 80px;

    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 24px;

    --shadow-small:
        0 8px 25px rgba(0, 0, 0, 0.06);

    --shadow-medium:
        0 15px 40px rgba(0, 0, 0, 0.09);

    --shadow-large:
        0 30px 80px rgba(0, 0, 0, 0.14);

    --transition: 0.35s ease;
}


/* =========================================================
   SELEÇÃO
========================================================= */

::selection {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* =========================================================
   SEÇÕES
========================================================= */

.section {
    position: relative;
    padding: 110px 0;
    scroll-margin-top: 80px;
}


/* =========================================================
   PRELOADER
========================================================= */

.preloader {
    position: fixed;
    inset: 0;

    z-index: 99999;

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

    gap: 18px;

    background: var(--dark);

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.preloader-icon {
    display: flex;
    gap: 8px;
}

.preloader-icon span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--primary);

    animation: preloaderAnimation 0.8s infinite alternate;
}

.preloader-icon span:nth-child(2) {
    animation-delay: 0.2s;
}

.preloader-icon span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes preloaderAnimation {

    from {
        opacity: 0.3;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-10px);
    }

}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    display: flex;
    align-items: center;

  background: #e3e3e3;

    border-bottom: 1px solid #d1d1d1;

    backdrop-filter: blur(10px);

    transition: var(--transition);
}

.header.scrolled {
    height: 70px;

    background: #e3e3e3;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.18);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-placeholder {
    width: 165px;
    min-width: 165px;
    height: 55px;

    display: flex;
    align-items: center;
}

.logo-placeholder img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.navbar {
    margin-left: auto;
}

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

.nav-link {
    position: relative;
    padding: 28px 0;
    color: #01295C;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 18px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transform: translateX(-50%);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

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


/* =========================================================
   BOTÃO HEADER
========================================================= */

.header-whatsapp {
    min-height: 43px;

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

    gap: 9px;

    padding: 0 17px;

    border-radius: var(--radius-small);

    background: var(--primary);

    color: var(--white);

    font-size: 0.76rem;
    font-weight: 700;

    white-space: nowrap;

    transition: var(--transition);
}

.header-whatsapp:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* =========================================================
   MENU MOBILE
========================================================= */

.menu-toggle {
    width: 45px;
    height: 45px;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
    width: 22px;
    height: 2px;

    background: var(--white);

    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO COM VÍDEO
========================================================= */

.hero-video {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--dark);
}


/* =========================================================
   VÍDEO
========================================================= */

.hero-background-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;

    filter:
        grayscale(30%)
        saturate(75%)
        brightness(68%);

    will-change: transform;
}


/* =========================================================
   CAMADAS DO HERO
========================================================= */

.hero-video-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(10, 10, 10, 0.48);
}

.hero-video-gradient {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.96) 0%,
            rgba(10, 10, 10, 0.88) 35%,
            rgba(10, 10, 10, 0.50) 65%,
            rgba(10, 10, 10, 0.20) 100%
        );
}

.hero-video-texture {
    position: absolute;
    inset: 0;

    z-index: 3;

    opacity: 0.10;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.5) 0.6px,
            transparent 0.6px
        );

    background-size: 7px 7px;
}


/* =========================================================
   EFEITOS HERO
========================================================= */

.hero-glow {
    position: absolute;

    z-index: 3;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(100px);
}

.hero-glow-one {
    width: 500px;
    height: 500px;

    top: -250px;
    left: -150px;

    background:
        rgba(var(--primary-rgb), 0.20);
}

.hero-glow-two {
    width: 350px;
    height: 350px;

    right: 5%;
    bottom: -200px;

    background:
        rgba(var(--primary-rgb), 0.14);
}


/* =========================================================
   CONTAINER HERO
========================================================= */

.hero-video-container {
    position: relative;

    z-index: 10;

    width: 100%;

    padding-top: 130px;
    padding-bottom: 130px;
}

.hero-video-content {
    max-width: 790px;
    margin-left: 50px;
}


/* =========================================================
   TAG HERO
========================================================= */

.hero-tag {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    padding: 9px 15px;

    border:
        1px solid rgba(var(--primary-rgb), 0.45);

    border-radius: 50px;

    background:
        rgba(var(--primary-rgb), 0.12);

    color: #DA740C;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.hero-tag-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 0 6px
        rgba(var(--primary-rgb), 0.13);

    animation: heroTagPulse 2s infinite;
}

@keyframes heroTagPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 5px
            rgba(var(--primary-rgb), 0.12);
    }

    50% {
        box-shadow:
            0 0 0 10px
            rgba(var(--primary-rgb), 0);
    }

}


/* =========================================================
   TÍTULO HERO
========================================================= */

.hero-video h1 {
    max-width: 780px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(2.8rem, 5vw, 5.3rem);

    font-weight: 700;

    line-height: 1.04;

    letter-spacing: -0.055em;
}

.hero-video h1 strong {
    display: block;

    color: var(--primary-light);

    font-weight: 800;
}


/* =========================================================
   DESCRIÇÃO HERO
========================================================= */

.hero-description {
    max-width: 680px;

    margin-top: 27px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 1.08rem;

    line-height: 1.8;
}


/* =========================================================
   BOTÕES
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}

.button {
    min-height: 54px;

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

    gap: 10px;

    padding: 0 26px;

    border-radius: 9px;

    font-size: 0.88rem;
    font-weight: 700;

    transition: var(--transition);
}

.button-primary {
    background: var(--primary);

    color: var(--white);

    box-shadow:
        0 12px 35px
        rgba(var(--primary-rgb), 0.25);
}

.button-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-3px);

    box-shadow:
        0 18px 45px
        rgba(var(--primary-rgb), 0.32);
}

.button-video-secondary {
    border:
        1px solid rgba(255, 255, 255, 0.22);

    background:
        rgba(255, 255, 255, 0.07);

    color: var(--white);

    backdrop-filter: blur(8px);
}

.button-video-secondary:hover {
    border-color:
        rgba(255, 255, 255, 0.45);

    background:
        rgba(255, 255, 255, 0.13);

    transform: translateY(-3px);
}

.button-outline-light {
    border:
        1px solid rgba(255, 255, 255, 0.25);

    color: var(--white);

    background:
        rgba(255, 255, 255, 0.04);
}

.button-outline-light:hover {
    background: var(--primary);
    border-color: var(--primary);

    transform: translateY(-3px);
}


/* =========================================================
   FEATURES HERO
========================================================= */

.hero-video-features {
    display: flex;
    flex-wrap: wrap;

    gap: 40px;

    margin-top: 65px;
    padding-top: 30px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.hero-video-feature {
    display: flex;
    align-items: center;

    gap: 14px;
}

.hero-video-feature-icon {
    width: 45px;
    height: 45px;

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

    border-radius: 10px;

    background:
        rgba(var(--primary-rgb), 0.14);

    border:
        1px solid rgba(var(--primary-rgb), 0.28);

    color: var(--primary-light);

    font-size: 1rem;
}

.hero-video-feature div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-video-feature strong {
    color: var(--white);
    font-size: 0.87rem;
}

.hero-video-feature span {
    margin-top: 2px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.73rem;
}


/* =========================================================
   INDICADOR DE ROLAGEM
========================================================= */

.hero-scroll {
    position: absolute;

    left: 50%;
    bottom: 25px;

    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    color:
        rgba(255, 255, 255, 0.45);

    transform: translateX(-50%);

    transition: var(--transition);
}

.hero-scroll span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.hero-scroll i {
    font-size: 0.75rem;

    animation:
        heroScrollAnimation
        1.8s infinite;
}

.hero-scroll:hover {
    color: var(--primary-light);
}

@keyframes heroScrollAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }

}


/* =========================================================
   CABEÇALHO DAS SEÇÕES
========================================================= */

.section-header {
    max-width: 760px;

    margin:
        0 auto 65px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--primary);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.section-header h2,
.benefits-content h2 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(2rem, 3.5vw, 3.25rem);

    font-weight: 700;

    line-height: 1.16;

    letter-spacing: -0.045em;
}

.section-header h2 strong,
.benefits-content h2 strong {
    color: #dd720a;
    font-weight: 800;
}

.section-header p {
    max-width: 650px;

    margin:
        20px auto 0;

    color: var(--gray-600);

    font-size: 0.98rem;

    line-height: 1.8;
}


/* =========================================================
   FUNCIONALIDADES
========================================================= */

.functionalities {
    background: var(--white);
}

.functionalities-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.function-card {
    position: relative;

    min-height: 290px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid var(--gray-200);

    border-radius: var(--radius-medium);

    background: var(--white);

    transition: var(--transition);
}

.function-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--primary);

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);
}

.function-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(var(--primary-rgb), 0.25);

    box-shadow: var(--shadow-medium);
}

.function-card:hover::before {
    transform: scaleX(1);
}

.function-icon {
    width: 52px;
    height: 52px;

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

    margin-bottom: 25px;

    border-radius: 12px;

    background:
        rgba(var(--primary-rgb), 0.11);

    color: var(--primary);

    font-size: 1.15rem;

    transition: var(--transition);
}

.function-card:hover .function-icon {
    background: var(--primary);

    color: var(--white);

    transform: rotate(-5deg);
}

.function-card h3 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 1.05rem;

    line-height: 1.35;
}

.function-card p {
    margin-top: 12px;

    color: var(--gray-600);

    font-size: 0.85rem;

    line-height: 1.75;
}

.function-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: auto;
    padding-top: 20px;

    color: var(--primary);

    font-size: 0.78rem;
    font-weight: 700;

    transition: var(--transition);
}

.function-link i {
    font-size: 0.7rem;

    transition: var(--transition);
}

.function-link:hover {
    color: var(--primary-dark);
}

.function-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   INTEGRAÇÕES
========================================================= */

.integrations {
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #01295C 0%,
            #2771B6 100%
        );
}

.integration-decoration {
    position: absolute;

    width: 550px;
    height: 550px;

    top: -350px;
    right: -250px;

    border-radius: 50%;

    background:
        rgba(var(--primary-rgb), 0.15);

    filter: blur(70px);
}

.section-header-light h2 {
    color: var(--white);
}

.section-header-light p {
    color:
        rgba(255, 255, 255, 0.58);
}

.integrations-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.integration-card {
    min-height: 115px;

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

    padding: 20px;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.65);

    text-align: center;

    transition: var(--transition);
}

.integration-card span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.integration-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(var(--primary-rgb), 0.50);

    background:
        rgba(var(--primary-rgb), 0.12);

    color: var(--white);
}

.integrations-button {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}


/* =========================================================
   SEGMENTOS
========================================================= */

.segments {
    background: var(--gray-50);
}

.segments-grid {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 14px;
}

.segment-card {
    min-height: 160px;

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

    gap: 18px;

    padding: 25px 15px;

    border:
        1px solid var(--gray-200);

    border-radius: 14px;

    background: var(--white);

    text-align: center;

    transition: var(--transition);
}

.segment-card i {
    color: var(--primary);

    font-size: 1.5rem;

    transition: var(--transition);
}

.segment-card h3 {
    color: var(--dark);

    font-size: 0.8rem;
    font-weight: 700;
}

.segment-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(var(--primary-rgb), 0.28);

    box-shadow: var(--shadow-small);
}

.segment-card:hover i {
    transform: scale(1.15);
}


/* =========================================================
   BENEFÍCIOS
========================================================= */

.benefits {
    background: var(--white);
}

.benefits-container {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    align-items: center;

    gap: 80px;
}

.benefits-content p {
    max-width: 520px;

    margin: 23px 0 30px;

    color: var(--gray-600);

    line-height: 1.8;
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 17px;
}

.benefit-card {
    display: flex;

    gap: 18px;

    min-height: 140px;

    padding: 25px;

    border:
        1px solid var(--gray-200);

    border-radius: 14px;

    background: var(--white);

    transition: var(--transition);
}

.benefit-card > i {
    width: 43px;
    min-width: 43px;
    height: 43px;

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

    border-radius: 10px;

    background:
        rgba(var(--primary-rgb), 0.11);

    color: var(--primary);
}

.benefit-card h3 {
    color: var(--dark);
    font-size: 0.9rem;
}

.benefit-card p {
    margin-top: 7px;

    color: var(--gray-600);

    font-size: 0.8rem;

    line-height: 1.65;
}

.benefit-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(var(--primary-rgb), 0.28);

    box-shadow: var(--shadow-small);
}


/* =========================================================
   COMO FUNCIONA / IMPLANTAÇÃO
========================================================= */

.how-it-works {
    background: var(--gray-50);
}

.steps {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 25px;
}

.steps::before {
    content: "";

    position: absolute;

    top: 35px;
    left: 8%;

    width: 84%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gray-300),
            transparent
        );
}

.step {
    position: relative;

    z-index: 2;

    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;

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

    margin: 0 auto 25px;

    border:
        1px solid var(--gray-200);

    border-radius: 50%;

    background: var(--white);

    color: var(--primary);

    font-family: "Manrope", sans-serif;

    font-size: 1rem;
    font-weight: 800;

    box-shadow: var(--shadow-small);

    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

    transform: scale(1.08);
}

.step h3 {
    color: var(--dark);
    font-size: 0.95rem;
}

.step p {
    margin-top: 10px;

    color: var(--gray-600);

    font-size: 0.8rem;

    line-height: 1.7;
}


/* =========================================================
   DIFERENCIAIS
========================================================= */

.differences {
    background: var(--white);
}

.differences-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.difference-card {
    position: relative;

    min-height: 235px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid var(--gray-200);

    border-radius: var(--radius-medium);

    background: var(--white);

    transition: var(--transition);
}

.difference-card::after {
    content: "";

    position: absolute;

    right: -50px;
    bottom: -50px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        rgba(var(--primary-rgb), 0.07);

    transition: var(--transition);
}

.difference-card i {
    position: relative;

    z-index: 2;

    width: 50px;
    height: 50px;

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

    margin-bottom: 22px;

    border-radius: 12px;

    background:
        rgba(var(--primary-rgb), 0.11);

    color: var(--primary);

    font-size: 1.15rem;

    transition: var(--transition);
}

.difference-card h3 {
    position: relative;

    z-index: 2;

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 1rem;
}

.difference-card p {
    position: relative;

    z-index: 2;

    margin-top: 10px;

    color: var(--gray-600);

    font-size: 0.82rem;

    line-height: 1.7;
}

.difference-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(var(--primary-rgb), 0.28);

    box-shadow: var(--shadow-medium);
}

.difference-card:hover i {
    background: var(--primary);

    color: var(--white);

    transform: rotate(-5deg);
}

.difference-card:hover::after {
    width: 180px;
    height: 180px;

    background:
        rgba(var(--primary-rgb), 0.11);
}


/* =========================================================
   FAQ CORRIGIDO
========================================================= */

.faq {
    background: var(--gray-50);
}

.faq .container {
    max-width: 1000px;
}

.faq-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   ITEM FAQ

   IMPORTANTE:

   O FAQ NÃO USA:
   - opacity: 0
   - transform
   - visibility: hidden

   ISSO EVITA O PROBLEMA DOS ITENS DESAPARECEREM.
========================================================= */

.faq-item {
    width: 100%;

    overflow: hidden;

    border:
        1px solid var(--gray-200);

    border-radius: 12px;

    background: var(--white);

    opacity: 1;
    visibility: visible;
    transform: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color:
        rgba(var(--primary-rgb), 0.25);
}

.faq-item.active {
    border-color:
        rgba(var(--primary-rgb), 0.40);

    box-shadow: var(--shadow-small);
}


/* =========================================================
   PERGUNTA FAQ
========================================================= */

.faq-question {
    width: 100%;
    min-height: 72px;

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

    gap: 20px;

    padding: 20px 25px;

    border: 0;

    background: transparent;

    color: var(--dark);

    text-align: left;

    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;
}

.faq-question span {
    flex: 1;
}


/* =========================================================
   ÍCONE FAQ
========================================================= */

.faq-question i {
    width: 32px;
    min-width: 32px;
    height: 32px;

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

    border-radius: 50%;

    background:
        rgba(var(--primary-rgb), 0.10);

    color: var(--primary);

    font-size: 0.72rem;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
}

.faq-item.active .faq-question i {
    background: var(--primary);

    color: var(--white);

    transform: rotate(180deg);
}


/* =========================================================
   RESPOSTA FAQ
========================================================= */

.faq-answer {
    width: 100%;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer p {
    margin: 0;

    padding:
        0 25px 25px;

    color: var(--gray-600);

    font-size: 0.84rem;

    line-height: 1.75;
}


/* =========================================================
   CTA FINAL
========================================================= */

.final-cta {
    padding: 100px 0;

    background: var(--white);
}

.final-cta-box {
    position: relative;

    min-height: 290px;

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

    gap: 50px;

    padding: 55px 65px;

    overflow: hidden;

    border-radius: var(--radius-large);

    background:
        linear-gradient(
            135deg,
            #01295C 0%,
            #2771B6 100%
        );

    box-shadow: var(--shadow-large);
}

.final-cta-box::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(var(--primary-rgb), 0.16);

    filter: blur(30px);
}

.final-cta-box > div {
    position: relative;

    z-index: 2;

    max-width: 700px;
}

.final-cta-box span {
    color: var(--primary-light);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.final-cta-box h2 {
    margin-top: 12px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(1.8rem, 3vw, 2.8rem);

    line-height: 1.2;
}

.final-cta-box p {
    margin-top: 15px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 0.9rem;

    line-height: 1.75;
}

.final-cta-box .button {
    position: relative;

    z-index: 2;

    min-width: 220px;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #01295C;

    color: var(--white);
}

.footer-container {
    display: grid;

    grid-template-columns:
        1.5fr 0.8fr 0.9fr 1fr;

    gap: 60px;

    padding-top: 75px;
    padding-bottom: 65px;
}

.footer-logo-placeholder {
    width: 180px;
    height: 60px;

    margin-bottom: 20px;
}

.footer-logo-placeholder img {
    max-width: 100%;
    max-height: 60px;

    object-fit: contain;
}

.footer-brand > p {
    max-width: 350px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.8rem;

    line-height: 1.75;
}

.footer-social {
    display: flex;

    gap: 9px;

    margin-top: 25px;
}

.footer-social a {
    width: 38px;
    height: 38px;

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

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 8px;

    color:
        rgba(255, 255, 255, 0.55);

    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

    transform: translateY(-3px);
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 10px;

    font-size: 0.9rem;
}

.footer-column a,
.footer-column span,
.footer-column p {
    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.76rem;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;

    gap: 10px;
}

.footer-contact p i {
    margin-top: 4px;

    color: var(--primary-light);
}

.footer-whatsapp {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 10px;

    padding: 10px 15px;

    border-radius: 7px;

    background: var(--primary);

    color: var(--white) !important;

    font-weight: 700;
}

.footer-whatsapp:hover {
    background: var(--primary-dark);
}


/* =========================================================
   FOOTER INFERIOR
========================================================= */

.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-container {
    min-height: 70px;

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

    gap: 30px;
}

.footer-bottom p,
.footer-bottom a {
    color:
        rgba(255, 255, 255, 0.35);

    font-size: 0.7rem;
}

.footer-bottom-container > div {
    display: flex;

    gap: 25px;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    min-height: 55px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 50px;

    background: #25d366;

    color: var(--white);

    font-size: 0.78rem;
    font-weight: 700;

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.20);

    transition: var(--transition);
}

.floating-whatsapp i {
    font-size: 1.3rem;
}

.floating-whatsapp:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.25);
}


/* =========================================================
   VOLTAR AO TOPO
========================================================= */

.back-to-top {
    position: fixed;

    right: 28px;
    bottom: 95px;

    z-index: 800;

    width: 42px;
    height: 42px;

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

    border-radius: 50%;

    background: var(--dark);

    color: var(--white);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    box-shadow: var(--shadow-small);

    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);

    transform: translateY(-3px);
}


/* =========================================================
   ANIMAÇÕES DE ENTRADA
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   GARANTIA DE SEGURANÇA DO FAQ

   MESMO QUE ALGUMA CLASSE SEJA ADICIONADA ACIDENTALMENTE,
   OS ITENS CONTINUARÃO VISÍVEIS.
========================================================= */

.faq-item,
.faq-item.reveal,
.faq-item.reveal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   RESPONSIVIDADE
   ATÉ 1200PX
========================================================= */

@media (max-width: 1200px) {

    .nav-list {
        gap: 14px;
    }

    .nav-link {
        font-size: 0.72rem;
    }

    .header-whatsapp {
        padding: 0 13px;
    }

    .functionalities-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .segments-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }

}


/* =========================================================
   TABLET / MENU MOBILE
========================================================= */

@media (max-width: 1050px) {

    :root {
        --header-height: 72px;
    }

    .header-whatsapp {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 10;

        background: rgba(1, 41, 92, .08);
        border: 1px solid rgba(1, 41, 92, .12);
    }

    .menu-toggle span {
        background: #01295C;
    }

    .navbar {

        position: fixed;

        top: 0;
        right: -100%;

        width: min(380px, 85%);
        height: 100vh;

        padding: 110px 35px 40px;

        background: #e3e3e3;

        box-shadow:
            -15px 0 35px rgba(1, 41, 92, .18);

        transition: right .40s ease;

    }

    .navbar.active {
        right: 0;
    }

    .nav-list {

        flex-direction: column;
        align-items: stretch;
        gap: 0;

    }

    .nav-link {

        display: block;

        padding: 15px 0;

        color: #01295C;

        font-size: .88rem;
        font-weight: 600;

        border-bottom: 1px solid rgba(1, 41, 92, .10);

        transition: .30s;

    }

    .navbar .nav-link {

        color: #01295C !important;

    }

    .navbar .nav-link:hover {

        color: #2771B6 !important;

        padding-left: 10px;

    }

    .navbar .nav-link.active {

        color: #2771B6 !important;

        border-left: 4px solid #DA740C;

        padding-left: 10px;

    }

    .nav-link::after {
        display: none;
    }

    .hero-video-gradient {

        background:
            linear-gradient(
                90deg,
                rgba(10,10,10,.94) 0%,
                rgba(10,10,10,.78) 65%,
                rgba(10,10,10,.55) 100%
            );

    }

    .functionalities-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .integrations-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .benefits-container {
        grid-template-columns:1fr;
        gap:55px;
    }

    .steps {
        grid-template-columns:repeat(3,1fr);
        row-gap:50px;
    }

    .steps::before {
        display:none;
    }

    .differences-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .footer-container {
        grid-template-columns:repeat(2,1fr);
    }

}


/* =========================================================
   TABLETS MENORES
========================================================= */

@media (max-width: 768px) {

    .section {
        padding: 85px 0;
    }

    .header-whatsapp {
        display: none;
    }

    .logo-placeholder {
        width: 140px;
        min-width: 140px;
    }

    .hero-video {
        min-height: 780px;
    }

    .hero-video-container {
        padding-top: 125px;
        padding-bottom: 100px;
    }

    .hero-video h1 {
        font-size:
            clamp(2.6rem, 10vw, 4.2rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-video-features {
        gap: 25px;
    }

    .hero-video-feature {
        width:
            calc(50% - 15px);
    }

    .section-header {
        margin-bottom: 50px;
    }

    .segments-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .steps {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .final-cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 45px 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        justify-content: center;

        padding: 20px 0;

        text-align: center;
    }

}


/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 580px) {

    .container {
        width: min(90%, var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .hero-video {
        min-height: 100svh;
    }

    .hero-background-video {
        object-position: 62% center;
    }

    .hero-video-gradient {
        background:
            linear-gradient(
                180deg,
                rgba(10, 10, 10, 0.76) 0%,
                rgba(10, 10, 10, 0.90) 45%,
                rgba(10, 10, 10, 0.98) 100%
            );
    }

    .hero-video-container {
        padding-top: 120px;
        padding-bottom: 90px;
    }

    .hero-tag {
        font-size: 0.62rem;

        padding: 8px 12px;
    }

    .hero-video h1 {
        font-size:
            clamp(2.4rem, 12vw, 3.6rem);

        letter-spacing: -0.05em;
    }

    .hero-description {
        margin-top: 20px;

        font-size: 0.9rem;

        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-video-features {
        flex-direction: column;

        gap: 18px;

        margin-top: 45px;
    }

    .hero-video-feature {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .functionalities-grid {
        grid-template-columns: 1fr;
    }

    .function-card {
        min-height: 265px;
    }

    .integrations-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .integration-card {
        min-height: 90px;

        padding: 15px 10px;
    }

    .integration-card span {
        font-size: 0.68rem;
    }

    .segments-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .segment-card {
        min-height: 140px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .step {
        display: grid;

        grid-template-columns:
            65px 1fr;

        column-gap: 20px;

        text-align: left;
    }

    .step-number {
        grid-row: span 2;

        width: 60px;
        height: 60px;

        margin: 0;
    }

    .step h3 {
        align-self: end;
    }

    .step p {
        margin-top: 5px;
    }

    .differences-grid {
        grid-template-columns: 1fr;
    }

    .difference-card {
        min-height: 215px;
    }


    /* =====================================================
       FAQ MOBILE
    ===================================================== */

    .faq-question {
        min-height: 68px;

        padding: 18px;

        font-size: 0.82rem;
    }

    .faq-question i {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }

    .faq-answer p {
        padding:
            0 18px 20px;

        font-size: 0.8rem;
    }


    /* =====================================================
       CTA MOBILE
    ===================================================== */

    .final-cta {
        padding: 75px 0;
    }

    .final-cta-box {
        padding: 38px 25px;

        border-radius: 18px;
    }

    .final-cta-box .button {
        width: 100%;

        min-width: auto;
    }


    /* =====================================================
       FOOTER MOBILE
    ===================================================== */

    .footer-container {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 60px;
    }


    /* =====================================================
       WHATSAPP MOBILE
    ===================================================== */

    .floating-whatsapp {
        right: 18px;
        bottom: 18px;

        width: 55px;
        height: 55px;
        min-height: 55px;

        justify-content: center;

        padding: 0;
    }

    .floating-whatsapp span {
        display: none;
    }


    /* =====================================================
       VOLTAR AO TOPO MOBILE
    ===================================================== */

    .back-to-top {
        right: 24px;
        bottom: 85px;
    }

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 380px) {

    .hero-video h1 {
        font-size: 2.25rem;
    }

    .segments-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}