/* ================================
   VARIÁVEIS CSS
================================ */
:root {
    --primary-color: #0056b3;
    --secondary-color: #218838;
    --gradient-primary: linear-gradient(to right, #03468e, #0099e6);
    --gradient-secondary: linear-gradient(to right, #218838, #28a745);
    --text-dark: #333;
    --text-light: #f8f9fa;
    --text-light-gray: #a3d2fb;
    --bg-light: #ffffff;
    --bg-dark: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ================================
   RESET BÁSICO
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   BOTÕES
================================ */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.btn-hero {
    background: var(--gradient-secondary);
    position: relative;
    z-index: 1;
    animation: heroCtaPulse 3s ease-in-out infinite;
}

.btn-hero:hover {
    background: linear-gradient(to right, #1a6e2c, #1f9e3a);
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* ================================
   HEADER
================================ */
.main-header {
    background-color: var(--bg-light);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo a {
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin-right: 25px;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.main-nav .nav-list a.active {
    color: #03468e;
    font-weight: 700;
}

.main-nav .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* =========================================
   Estilos para o Sub-menu (Dropdown)
   ========================================= */
   .nav-list .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-list .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 1000;
    border: 1px solid #eee;
}

.nav-list .dropdown-menu li {
    width: 100%;
}

.nav-list .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.nav-list .dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #0056b3; /* Use a cor principal da sua marca aqui */
}

/* ================================
   HERO - HOME
================================ */
.hero-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateX(-30px);
    animation: heroTextIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light-gray);
    font-weight: 300;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 60%);
    filter: blur(2px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
    animation: heroFloat 6s ease-in-out infinite;
}

/* ================================
   HERO INTERNO (páginas internas)
================================ */
.page-hero-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-section .container {
    position: relative;
    z-index: 1;
}

.page-hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-hero-section p {
    font-size: 1.1em;
    color: var(--text-light-gray);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 40px;
    background: #f8fafc;
    border-radius: 40% 40% 0 0;
}

/* ================================
   HERO - CERTIFICADO DIGITAL
================================ */
.cd-hero-section {
    background: linear-gradient(135deg, #03468e, #0099e6);
    color: #f8f9fa;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cd-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.20) 0, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.16) 0, transparent 55%);
    opacity: 0.6;
    pointer-events: none;
    animation: cdHeroBgMove 18s ease-in-out infinite alternate;
}

.cd-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cd-hero-content {
    max-width: 520px;
    text-align: center;
}

.cd-hero-content h1 {
    font-size: 2.6em;
    margin-bottom: 18px;
    color: #ffffff;
}

.cd-hero-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #dbeafe;
    font-weight: 300;
}

.cd-hero-image {
    position: relative;
}

.cd-hero-image::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.40), transparent 60%);
    filter: blur(2px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.75;
    animation: cdHeroGlow 8s ease-in-out infinite alternate;
}

.cd-hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    animation: cdHeroFloat 6s ease-in-out infinite;
}

/* ================================
   HERO - SISTEMAS SAAS
================================ */
.saas-hero-section {
    background:
        radial-gradient(circle at top left, #4a00e0 0, transparent 55%),
        radial-gradient(circle at bottom right, #00b4d8 0, transparent 55%),
        linear-gradient(135deg, #020617, #0f172a);
    color: #f8fafc;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.saas-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(148,163,184,0.18) 0, transparent 50%),
        linear-gradient(-135deg, rgba(148,163,184,0.12) 0, transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.7;
    pointer-events: none;
}

.saas-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.saas-hero-content {
    max-width: 540px;
    text-align: center;
}

.saas-hero-content h1 {
    font-size: 2.6em;
    margin-bottom: 18px;
    color: #e5e7eb;
}

.saas-hero-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #cbd5f5;
    font-weight: 300;
}

.saas-hero-image {
    position: relative;
}

.saas-hero-image::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 40% 60% 65% 35%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 60%);
    filter: blur(4px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.9;
    animation: saasHeroGlow 10s ease-in-out infinite alternate;
}

.saas-hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    animation: saasHeroFloat 7s ease-in-out infinite;
}

/* ================================
   SOBRE NÓS
================================ */
.about-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #03468e;
}

.about-content .about-lead {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
    font-weight: 500;
}

.about-content p {
    font-size: 1em;
    margin-bottom: 12px;
    color: #666;
}

.about-highlights {
    list-style: none;
    margin-top: 20px;
}

.about-highlights li {
    margin-bottom: 8px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-highlights li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    flex-shrink: 0;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(3, 70, 142, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #03468e;
}

.about-card p {
    font-size: 0.95em;
    color: #555;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.about-cta-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 70px 0 100px;
    text-align: center;
}

.about-cta-section h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-light-gray);
    font-weight: 300;
}

.about-cta-section .btn-hero {
    margin-top: 20px;
}

/* ================================
   PÁGINAS DE DOCUMENTO (CMS)
   Política de Privacidade, Termos de Uso
   e outras páginas de texto puro
================================ */
.pagina-documento {
    padding: 70px 0 90px;
    background-color: #f8fafc;
}

.pagina-documento .container {
    max-width: 860px;
}

.pagina-documento-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 48px 48px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.pagina-documento-card h1 {
    font-size: 2em;
    color: #03468e;
    margin-bottom: 6px;
    font-weight: 700;
}

.pagina-documento-card .pagina-data {
    font-size: 0.85em;
    color: #9ca3af;
    margin-bottom: 28px;
    display: block;
}

.pagina-documento-card h2 {
    font-size: 1.2em;
    color: #03468e;
    font-weight: 600;
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(3, 70, 142, 0.12);
}

.pagina-documento-card h3 {
    font-size: 1.05em;
    color: #1e3a5f;
    font-weight: 600;
    margin: 18px 0 8px;
}

.pagina-documento-card p {
    font-size: 0.97em;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 12px;
}

.pagina-documento-card ul {
    margin: 0 0 14px 20px;
    padding: 0;
}

.pagina-documento-card ul li {
    font-size: 0.97em;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 6px;
}

.pagina-documento-card a {
    color: #03468e;
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 70, 142, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pagina-documento-card a:hover {
    color: #0099e6;
    border-bottom-color: #0099e6;
}

.pagina-documento-card strong {
    color: #1f2937;
    font-weight: 600;
}

/* Responsivo documento */
@media (max-width: 767px) {
    .pagina-documento {
        padding: 40px 0 60px;
    }

    .pagina-documento-card {
        padding: 24px 20px 32px;
        border-radius: 12px;
    }

    .pagina-documento-card h1 {
        font-size: 1.6em;
    }

    .pagina-documento-card h2 {
        font-size: 1.1em;
    }
}

/* ================================
   SERVIÇOS - GRID E CARDS
================================ */
.services-section {
    padding: 100px 0 80px;
    background-color: #e3e3e3;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.services-header h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #03468e;
}

.services-header p {
    font-size: 1em;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 22px 20px 24px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(3, 70, 142, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.service-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #03468e;
}

.service-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 18px;
}

.service-link {
    font-size: 0.95em;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(3, 70, 142, 0.7);
    background-color: #fdfefe;
}

.service-card:hover .service-link {
    color: #ff67fa;
    transform: translateX(2px);
}

.service-card-highlight {
    background: linear-gradient(135deg, #03468e, #9200e0);
    color: #f8f9fa;
    border-color: transparent;
    box-shadow: 0 14px 35px rgba(74, 0, 224, 0.25);
}

.service-card-highlight h3,
.service-card-highlight p {
    color: #f8f9fa;
}

.service-card-highlight .service-link {
    color: #d4b8ff;
    text-decoration: none;
    font-weight: 700;
}

.service-card-highlight .service-link:hover {
    color: #ffffff;
}

.service-card-highlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(74, 0, 224, 0.35);
    border-color: transparent;
}

/* ================================
   SERVIÇOS - PÁGINA /servicos
================================ */
.services-details-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.service-detail {
    max-width: 900px;
    margin: 0 auto 40px;
}

.service-detail h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #03468e;
}

.service-detail p {
    margin-bottom: 12px;
    color: #555;
}

.service-detail ul {
    margin: 10px 0 0 18px;
    color: #444;
}

.service-detail ul li {
    margin-bottom: 6px;
}

.services-details-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0 auto 30px;
    max-width: 900px;
    font-size: 0.95em;
}

.services-details-nav span {
    font-weight: 600;
    color: #555;
    margin-right: 4px;
}

.services-details-nav a {
    color: #03468e;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(3, 70, 142, 0.2);
    background-color: #f5f7fb;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.services-details-nav a:hover {
    background-color: #03468e;
    color: #ffffff;
    border-color: #03468e;
}

/* ================================
   CERTIFICADO DIGITAL - CONTEÚDO
================================ */
.cd-main-section {
    padding: 60px 0 50px;
    background-color: #ffffff;
}

.cd-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.cd-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #03468e;
}

.cd-content p {
    margin-bottom: 12px;
    color: #555;
}

.cd-content h3 {
    font-size: 1.2em;
    margin: 25px 0 10px;
    color: #03468e;
}

.cd-list {
    margin-left: 18px;
    color: #444;
}

.cd-list li {
    margin-bottom: 6px;
}

.cd-aside {
    width: 100%;
}

.cd-highlight-card {
    background: linear-gradient(135deg, #03468e, #0099e6);
    color: #f8f9fa;
    border-radius: 16px;
    padding: 24px 22px 26px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.cd-highlight-card h3 {
    font-size: 1.3em;
    margin-bottom: 12px;
}

.cd-highlight-card ul {
    list-style: none;
    margin-bottom: 12px;
}

.cd-highlight-card ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}

.cd-highlight-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #a3d2fb;
}

.cd-highlight-card .cd-note {
    font-size: 0.9em;
    margin-bottom: 16px;
    color: #e8f4ff;
}

.cd-steps-section {
    padding: 50px 0 80px;
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.cd-steps-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #03468e;
}

.cd-steps-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

.cd-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cd-step {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 18px 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(3, 70, 142, 0.08);
}

.cd-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #03468e, #0099e6);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.cd-step h3 {
    font-size: 1.05em;
    margin-bottom: 8px;
    color: #03468e;
}

.cd-step p {
    font-size: 0.95em;
    color: #555;
}

/* ================================
   SISTEMAS SAAS - CONTEÚDO
================================ */
.saas-main-section {
    padding: 60px 0 50px;
    background-color: #ffffff;
}

.saas-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.saas-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #03468e;
}

.saas-content p {
    margin-bottom: 12px;
    color: #555;
}

.saas-content h3 {
    font-size: 1.2em;
    margin: 25px 0 10px;
    color: #03468e;
}

.saas-list {
    margin-left: 18px;
    color: #444;
}

.saas-list li {
    margin-bottom: 6px;
}

.saas-aside {
    width: 100%;
}

.saas-highlight-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e5e7eb;
    border-radius: 16px;
    padding: 24px 22px 26px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.saas-highlight-card h3 {
    font-size: 1.3em;
    margin-bottom: 12px;
}

.saas-highlight-card ul {
    list-style: none;
    margin-bottom: 12px;
}

.saas-highlight-card ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}

.saas-highlight-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #a855f7;
}

.saas-highlight-card .saas-note {
    font-size: 0.9em;
    margin-bottom: 0;
    color: #cbd5f5;
}

.saas-steps-section {
    padding: 50px 0 80px;
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.saas-steps-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #03468e;
}

.saas-steps-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px;
    color: #555;
}

.saas-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.saas-step {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 18px 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(3, 70, 142, 0.08);
}

.saas-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a00e0, #00b4d8);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.saas-step h3 {
    font-size: 1.05em;
    margin-bottom: 8px;
    color: #03468e;
}

.saas-step p {
    font-size: 0.95em;
    color: #555;
}

/* ================================
   CONTATO
================================ */
.contact-section {
    padding: 70px 0 90px;
    background-color: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-wrapper h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #03468e;
}

.contact-form-wrapper p {
    margin-bottom: 20px;
    color: #555;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-size: 0.95em;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    font-size: 0.95em;
    font-family: inherit;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #03468e;
    box-shadow: 0 0 0 2px rgba(3, 70, 142, 0.18);
    background-color: #f9fafb;
}

.contact-info {
    width: 100%;
}

.contact-info-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px 22px 26px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-info-card h2 {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: #03468e;
}

.contact-info-card p {
    margin-bottom: 16px;
    color: #4b5563;
}

.contact-list {
    list-style: none;
    margin-bottom: 14px;
}

.contact-list li {
    margin-bottom: 12px;
    font-size: 0.95em;
    color: #111827;
}

.contact-list a {
    color: #03468e;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.85em;
    color: #6b7280;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        max-width: 480px;
        margin: 0 auto;
    }
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 14px 20px;
    margin: 20px auto;
    max-width: 1200px;
    text-align: center;
    font-weight: 600;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 14px 20px;
    margin: 20px auto;
    max-width: 1200px;
    text-align: center;
    font-weight: 600;
}

.form-group-error input,
.form-group-error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

.form-error-msg {
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
    color: #ef4444;
    font-weight: 500;
}

/* ================================
   FOOTER
================================ */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.main-footer .footer-links {
    margin-top: 10px;
}

.main-footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.main-footer .footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ================================
   ANIMAÇÕES
================================ */
@keyframes heroFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes heroTextIn {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes heroCtaPulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    50%  { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(40, 167, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

@keyframes heroGlow {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

@keyframes cdHeroFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes cdHeroGlow {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.25; }
}

@keyframes cdHeroBgMove {
    0%   { opacity: 0.5; }
    100% { opacity: 0.8; }
}

@keyframes saasHeroFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes saasHeroGlow {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.18); opacity: 0.25; }
}

/* ================================
   RESPONSIVIDADE - Desktop (min 768px)
================================ */
@media (min-width: 768px) {
    .hero-section .container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }

    .hero-content {
        text-align: left;
        flex: 1 1 50%;
        max-width: 50%;
        padding-right: 40px;
    }

    .hero-image {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .cd-hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cd-hero-content {
        text-align: left;
    }

    .cd-hero-content h1 {
        font-size: 2.9em;
    }

    .saas-hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .saas-hero-content {
        text-align: left;
    }

    .saas-hero-content h1 {
        font-size: 2.9em;
    }
}

/* ================================
   RESPONSIVIDADE - Tablet (max 991px)
================================ */
@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-card {
        flex: 1 1 250px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-grid {
        grid-template-columns: 1fr;
    }

    .cd-highlight-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .cd-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .saas-grid {
        grid-template-columns: 1fr;
    }

    .saas-highlight-card {
        max-width: 440px;
        margin: 0 auto;
    }

    .saas-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ================================
   RESPONSIVIDADE - Mobile (max 767px)
================================ */
@media (max-width: 767px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-light);
        padding-top: 80px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .main-nav .nav-list a {
        color: var(--text-dark);
        font-size: 1.5em;
    }

    .main-nav .btn-primary {
        width: 80%;
        max-width: 300px;
        font-size: 1.2em;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        width: 100%;
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 2.0em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hero-image::before {
        width: 180px;
        height: 180px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-content h2 {
        font-size: 1.8em;
    }

    .page-hero-section {
        padding: 70px 0 60px;
    }

    .page-hero-section h1 {
        font-size: 2.1em;
    }

    .page-hero-section p {
        font-size: 1em;
    }

    .about-cta-section h2 {
        font-size: 1.6em;
    }

    .services-section {
        padding: 60px 0;
    }

    .services-header h2 {
        font-size: 1.8em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cd-hero-section {
        padding: 50px 0;
    }

    .cd-hero-content h1 {
        font-size: 2.0em;
    }

    .cd-hero-content p {
        font-size: 1em;
    }

    .cd-main-section {
        padding: 40px 0;
    }

    .cd-steps-grid {
        grid-template-columns: 1fr;
    }

    .saas-hero-section {
        padding: 50px 0;
    }

    .saas-hero-content h1 {
        font-size: 2.1em;
    }

    .saas-hero-content p {
        font-size: 1em;
    }

    .saas-main-section {
        padding: 40px 0;
    }

    .saas-steps-grid {
        grid-template-columns: 1fr;
    }
}