/* ======================================================
   ILUMICERT
   STYLE.CSS
====================================================== */


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

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

html {
    scroll-behavior: smooth;
}

body {
    color-scheme: light;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;

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

body.menu-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

ul {
    list-style: none;
}


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

:root {

    --primary: #0057d9;
    --primary-light: #1e88e5;
    --primary-soft: #eaf2ff;
    --primary-dark: #003d9b;

    --background: #ffffff;
    --background-secondary: #f5f7fa;
    --surface: #ffffff;
    --surface-elevated: #ffffff;

    --text: #172033;
    --text-secondary: #637083;
    /* O antigo #8490a3 tinha pouco contraste para textos pequenos no fundo branco. */
    --text-soft: #66758a;
    --link-color: #004bbb;
    --focus-ring: rgba(0, 87, 217, 0.28);

    --border: rgba(22, 50, 90, 0.1);

    --header-bg: rgba(255, 255, 255, 0.78);

    --shadow-sm:
        0 10px 30px rgba(12, 37, 71, 0.08);

    --shadow-md:
        0 20px 50px rgba(12, 37, 71, 0.12);

    --shadow-lg:
        0 30px 80px rgba(0, 42, 100, 0.18);

    --gradient:
        linear-gradient(
            135deg,
            #0057d9,
            #1769d2
        );

    --gradient-soft:
        linear-gradient(
            135deg,
            rgba(0, 87, 217, 0.12),
            rgba(30, 136, 229, 0.03)
        );

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --container: 1200px;
}


body.dark {
    color-scheme: dark;

    --primary: #2f80ed;
    --primary-light: #54a1ff;
    --primary-soft: rgba(47, 128, 237, 0.13);
    --primary-dark: #2472dc;

    --background: #0b1220;
    --background-secondary: #121c2d;
    --surface: #111c2f;
    --surface-elevated: #152238;

    --text: #ffffff;
    --text-secondary: #d9e1f2;
    --text-soft: #9eadc3;
    --link-color: #69adff;
    --focus-ring: rgba(105, 173, 255, 0.38);

    --border: rgba(255, 255, 255, 0.08);

    --header-bg: rgba(11, 18, 32, 0.82);

    --shadow-sm:
        0 15px 40px rgba(0, 0, 0, 0.17);

    --shadow-md:
        0 25px 60px rgba(0, 0, 0, 0.25);

    --shadow-lg:
        0 35px 90px rgba(0, 0, 0, 0.35);
}


/* ==============================
   UTILITÁRIOS
============================== */

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

.section {
    padding: 110px 0;
}

.section-light {
    background: var(--background-secondary);
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-tag,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 999px;

    background: var(--primary-soft);
    color: var(--primary);

    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-tag-light {
    background: rgba(0, 25, 70, 0.24);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 18px;

    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;

    letter-spacing: -0.04em;
}

.section-heading p {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 55px;
}

.split-heading h2 {
    margin-top: 14px;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.text-link {
    color: var(--link-color);
    font-weight: 700;
}


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

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

    z-index: 1000;

    height: 84px;

    background: var(--header-bg);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

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

.header.scrolled {
    height: 72px;

    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    width: clamp(180px, 24vw, 330px);
    max-width: 100%;
    max-height: 54px;
    height: auto;
    object-fit: contain;
}

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

.nav-link {
    padding: 9px 13px;

    border-radius: 10px;

    color: var(--text-secondary);

    font-size: 0.94rem;
    font-weight: 600;

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-highlight {
    color: #ffffff;
    background: var(--gradient);
}

.nav-highlight:hover,
.nav-highlight.active {
    color: #ffffff;
    background: var(--gradient);

    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    width: 43px;
    height: 43px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);
    color: var(--text);

    font-size: 1.2rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    background: var(--primary-soft);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--text);

    transition: 0.3s;
}


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

.hero {
    position: relative;
    min-height: 780px;

    display: flex;
    align-items: center;

    padding: 150px 0 80px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(47, 128, 237, 0.16),
            transparent 35%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 800px;
    height: 800px;

    left: -500px;
    top: 100px;

    border-radius: 50%;

    background: rgba(0, 87, 217, 0.04);

    filter: blur(10px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;

    align-items: center;
    gap: 80px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    background: var(--primary);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(0, 87, 217, 0.12);
}

.hero h1 {
    max-width: 740px;

    margin-top: 24px;

    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: 0.98;

    letter-spacing: -0.06em;
}

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

    margin-top: 28px;

    color: var(--text-secondary);

    font-size: 1.16rem;
    line-height: 1.75;
}

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

    gap: 14px;

    margin-top: 35px;
}

.btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 24px;

    border: 1px solid transparent;
    border-radius: 13px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(0, 87, 217, 0.24);
}

.btn-primary:hover {
    box-shadow:
        0 20px 45px rgba(0, 87, 217, 0.35);
}

.btn-secondary {
    border-color: var(--border);

    color: var(--text);
    background: var(--surface);
}

.btn-secondary:hover {
    background: var(--primary-soft);
}

.btn-white {
    flex-shrink: 0;

    background: #ffffff;
    color: #0057d9;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 45px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--text);
}

.trust-item span {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.trust-divider {
    width: 1px;
    height: 40px;

    background: var(--border);
}


/* ==============================
   HERO VISUAL
============================== */

.hero-visual {
    position: relative;

    min-height: 520px;

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

.visual-glow {
    position: absolute;

    width: 380px;
    height: 380px;

    background: var(--primary);

    opacity: 0.16;

    filter: blur(100px);

    border-radius: 50%;
}

.glass {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.77),
            rgba(255, 255, 255, 0.4)
        );

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

    backdrop-filter: blur(20px);
}

body.dark .glass {
    background:
        linear-gradient(
            135deg,
            rgba(21, 34, 56, 0.88),
            rgba(11, 18, 32, 0.68)
        );

    border-color: rgba(255, 255, 255, 0.09);
}

.security-card {
    position: relative;

    width: min(100%, 430px);

    padding: 28px;

    border-radius: 28px;

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

    transform: rotate(-2deg);

    z-index: 2;

    animation: floating 6s ease-in-out infinite;
}

.security-top {
    display: flex;
    gap: 15px;
    align-items: center;
}

.security-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--gradient);
    color: white;

    font-weight: 900;
}

.security-top div {
    display: flex;
    flex-direction: column;
}

.security-top small {
    color: var(--text-soft);
}

.security-top strong {
    font-size: 1.1rem;
}

.certificate-preview {
    margin-top: 30px;
    padding: 28px;

    border-radius: 18px;

    background: var(--surface);

    border: 1px solid var(--border);
}

.certificate-line {
    height: 8px;
    width: 50%;

    margin-bottom: 12px;

    border-radius: 20px;

    background: var(--border);
}

.certificate-line.medium {
    width: 68%;
}

.certificate-line.long {
    width: 88%;
}

.digital-signature {
    margin-top: 32px;

    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: var(--primary);

    font-weight: 700;
}

.security-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 25px;

    color: var(--text-secondary);

    font-size: 0.86rem;
}

.status-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #28c76f;

    box-shadow:
        0 0 0 6px rgba(40, 199, 111, 0.12);
}

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 17px;

    border-radius: 16px;

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

    z-index: 3;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card small {
    color: var(--text-soft);
}

.floating-icon {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: white;
    background: var(--gradient);
}

.floating-card-1 {
    left: -10px;
    top: 80px;

    animation:
        floating 5s ease-in-out infinite reverse;
}

.floating-card-2 {
    right: -10px;
    bottom: 70px;

    animation:
        floating 6s ease-in-out infinite;
}


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

.benefits-grid {
    display: grid;

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

    gap: 22px;
}

.feature-card {
    position: relative;

    padding: 32px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);

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

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

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

    border-color:
        rgba(0, 87, 217, 0.35);

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

.feature-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 13px;

    color: var(--primary);
    background: var(--primary-soft);

    font-weight: 800;
}

.feature-card h3 {
    margin-bottom: 12px;

    font-size: 1.12rem;
}

.feature-card p {
    color: var(--text-secondary);
}


/* ==============================
   PRODUTOS
============================== */

.product-grid {
    display: grid;

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

    gap: 22px;
}

.product-card {
    position: relative;

    min-height: 330px;

    display: flex;
    flex-direction: column;

    padding: 35px;

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

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

    background: var(--surface);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.product-card.featured {
    background: var(--gradient);
    color: white;

    transform: translateY(-12px);
}

.product-card.featured:hover {
    transform: translateY(-18px);
}

.product-label {
    color: var(--primary);

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

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-card h3 {
    margin-top: 20px;

    font-size: 2.2rem;
}

.product-card p {
    margin-top: 18px;

    color: var(--text-secondary);
}

.product-card a {
    margin-top: auto;
    padding-top: 25px;

    color: var(--link-color);
    font-weight: 700;
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;

    padding: 6px 11px;

    border-radius: 999px;

    background: rgba(255,255,255,.18);

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

/* PREÇO NOS CARDS DE CERTIFICADOS */

.product-price {
    display: flex;
    flex-direction: column;

    margin-top: 25px;
}

.product-price small {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.product-price strong {
    margin-top: 3px;

    color: var(--primary);

    font-size: 1.5rem;
}

/* Mantém todos os textos legíveis no card azul em destaque.
   Este bloco vem depois das regras genéricas para evitar sobrescritas. */
.product-card.featured .product-label,
.product-card.featured h3,
.product-card.featured a,
.product-card.featured .product-price strong {
    color: #ffffff;
}

.product-card.featured p,
.product-card.featured .product-price small {
    color: #ffffff;
}

.product-card.featured a {
    font-weight: 800;
}

.product-card.featured a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.product-card.featured .featured-badge {
    color: #ffffff;
    background: rgba(0, 25, 70, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

/* ==============================
   PROCESSO
============================== */

.process-section {
    position: relative;

    background:
        linear-gradient(
            180deg,
            var(--background),
            var(--background-secondary)
        );
}

.process-grid {
    display: grid;

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

    gap: 18px;
}

.process-step {
    position: relative;

    padding: 28px;

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

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

    background: var(--surface);
}

.step-number {
    margin-bottom: 25px;

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

    color: rgba(0, 87, 217, 0.13);
}

body.dark .step-number {
    color: rgba(47, 128, 237, 0.25);
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
}


/* ==============================
   DEPOIMENTOS
============================== */

.testimonial-wrapper {
    position: relative;

    max-width: 850px;

    margin: auto;
    padding: 0 70px;
}

.testimonial-track {
    position: relative;
    min-height: 280px;
}

.testimonial {
    position: absolute;
    inset: 0;

    padding: 45px;

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

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

    background: var(--surface);

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

    opacity: 0;
    transform: translateX(30px);

    pointer-events: none;

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

.testimonial.active {
    opacity: 1;
    transform: translateX(0);

    pointer-events: auto;
}

.testimonial .quote {
    color: var(--primary);

    font-size: 4rem;
    line-height: 1;
}

.testimonial p {
    margin-bottom: 25px;

    font-size: 1.13rem;
    color: var(--text-secondary);
}

.testimonial strong,
.testimonial span {
    display: block;
}

.testimonial span {
    color: var(--text-soft);
    font-size: 0.87rem;
}

.carousel-control {
    position: absolute;
    top: 50%;

    width: 44px;
    height: 44px;

    transform: translateY(-50%);

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);
    color: var(--text);

    font-size: 1.7rem;

    z-index: 5;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;

    margin-top: 25px;
}

.carousel-dot {
    width: 8px;
    height: 8px;

    border: 0;
    border-radius: 50%;

    background: var(--border);
}

.carousel-dot.active {
    width: 25px;

    border-radius: 5px;

    background: var(--primary);
}


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

.cta-section {
    padding-top: 60px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px;

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

    color: white;

    background:
        linear-gradient(
            125deg,
            #003c95,
            #0057d9 55%,
            #1769d2
        );

    box-shadow:
        0 30px 70px rgba(0, 87, 217, 0.27);
}

.cta-box h2 {
    max-width: 720px;

    margin-top: 17px;

    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
}

.cta-box p {
    max-width: 650px;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.92);
}


/* ==============================
   PAGE HERO
============================== */

.page-hero {
    position: relative;

    padding:
        190px 0
        110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(47,128,237,.16),
            transparent 35%
        );
}

.page-hero.compact {
    padding-bottom: 80px;
}

.page-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    border-radius: 50%;

    background: var(--primary);

    opacity: .06;
}

.page-hero-content {
    max-width: 850px;
}

.page-hero h1 {
    margin-top: 20px;

    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;

    letter-spacing: -.055em;
}

.page-hero p {
    max-width: 720px;

    margin-top: 25px;

    color: var(--text-secondary);

    font-size: 1.1rem;
}


/* ==============================
   SOBRE
============================== */

.about-grid {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 80px;

    align-items: center;
}

.about-content h2 {
    margin: 18px 0 25px;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.1;
}

.about-content p {
    margin-bottom: 17px;

    color: var(--text-secondary);
}

.about-panel {
    padding: 40px;

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

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

.panel-number {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: .08em;
}

.about-panel h3 {
    margin: 16px 0;
    font-size: 2rem;
}

.about-panel > p {
    color: var(--text-secondary);
}

.mini-stat {
    margin-top: 25px;
    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.mini-stat strong,
.mini-stat span {
    display: block;
}

.mini-stat span {
    color: var(--text-soft);
}

.values-grid {
    display: grid;

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

    gap: 22px;
}

.value-card {
    padding: 35px;

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

    background: var(--surface);

    border: 1px solid var(--border);
}

.value-card > span {
    color: var(--primary);

    font-size: 2rem;
    font-weight: 800;
}

.value-card h3 {
    margin: 18px 0 12px;
}

.value-card p {
    color: var(--text-secondary);
}


/* ==============================
   TIMELINE
============================== */

.timeline {
    position: relative;

    max-width: 850px;

    margin: auto;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 19px;
    top: 0;
    bottom: 0;

    width: 2px;

    background:
        linear-gradient(
            var(--primary),
            transparent
        );
}

.timeline-item {
    position: relative;

    display: grid;
    grid-template-columns: 40px 1fr;

    gap: 28px;

    margin-bottom: 45px;
}

.timeline-dot {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    border: 8px solid var(--background);

    background: var(--primary);

    box-shadow:
        0 0 0 1px
        rgba(0,87,217,.2);

    z-index: 2;
}

.timeline-content {
    padding: 28px;

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

    background: var(--surface);

    border: 1px solid var(--border);
}

.timeline-content > span {
    color: var(--primary);
    font-weight: 800;
}

.timeline-content h3 {
    margin: 8px 0;
}

.timeline-content p {
    color: var(--text-secondary);
}


/* ==============================
   CERTIFICADOS
============================== */

.certificate-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.certificate-detail {
    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    align-items: center;

    gap: 60px;

    min-height: 460px;

    padding: 55px;

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

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

    background: var(--surface);

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

.certificate-detail.reverse {
    grid-template-columns:
        .8fr 1.2fr;
}

.certificate-detail.reverse
.certificate-info {
    order: 2;
}

.certificate-category {
    color: var(--primary);

    font-size: .8rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.certificate-info h2 {
    margin: 12px 0;

    font-size: 2.7rem;
}

.certificate-info > p {
    color: var(--text-secondary);
}

.certificate-info h3 {
    margin-top: 25px;
}

.check-list {
    margin: 15px 0 30px;
}

.check-list li {
    position: relative;

    margin-bottom: 9px;
    padding-left: 28px;

    color: var(--text-secondary);
}

.check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--primary);
    font-weight: 800;
}

.certificate-symbol {
    aspect-ratio: 1;

    display: grid;
    place-items: center;

    border-radius: 35px;

    background:
        linear-gradient(
            135deg,
            var(--primary-soft),
            rgba(47,128,237,.03)
        );

    border: 1px solid var(--border);
}

.certificate-symbol span {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;

    color: var(--primary);

    letter-spacing: -.06em;
}


/* ==============================
   FORMULÁRIOS
============================== */

.form-layout {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 60px;

    align-items: start;
}

.form-info h2 {
    margin: 17px 0;

    font-size: 2.6rem;
}

.form-info > p {
    color: var(--text-secondary);
}

.contact-info-card,
.address-placeholder {
    margin-top: 25px;
    padding: 22px;

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

    background: var(--background-secondary);

    border: 1px solid var(--border);
}

.contact-info-card span,
.contact-info-card a {
    display: block;
}

.contact-info-card span {
    color: var(--text-soft);
    font-size: .82rem;
}

.contact-info-card a {
    margin-top: 5px;

    font-weight: 700;
}

.form-security {
    margin-top: 35px;
}

.form-security p {
    color: var(--text-secondary);
}

.form-card {
    padding: 40px;

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

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

    background: var(--surface);

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

.form-grid {
    display: grid;

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

    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-bottom: 18px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: .88rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select,
.faq-search input {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 14px 15px;

    outline: none;

    color: var(--text);
    background: var(--background-secondary);

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

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.faq-search input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(0,87,217,.08);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: var(--text-secondary);

    font-size: .84rem;
}

.checkbox-row input {
    margin-top: 5px;
}

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

    gap: 12px;

    margin-top: 28px;
}

.form-feedback {
    margin-top: 15px;

    color: var(--primary);
    font-weight: 600;
}


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

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

.faq-search {
    margin-bottom: 30px;
}

.faq-search input {
    padding: 17px 20px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.accordion-item {
    overflow: hidden;

    border-radius: 16px;

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

    background: var(--surface);
}

.accordion-header {
    width: 100%;

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

    gap: 20px;

    padding: 22px 25px;

    border: 0;

    background: transparent;
    color: var(--text);

    text-align: left;

    font-weight: 700;
}

.accordion-icon {
    color: var(--primary);

    font-size: 1.5rem;

    transition: transform .3s ease;
}

.accordion-item.active
.accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height .35s ease;
}

.accordion-content p {
    padding:
        0 25px
        25px;

    color: var(--text-secondary);
}

.faq-empty {
    display: none;

    padding: 40px;
    text-align: center;

    color: var(--text-secondary);
}


/* ==============================
   CONTATO
============================== */

.contact-cards {
    display: grid;

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

    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.contact-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 12px;

    background: var(--primary-soft);
    color: var(--primary);

    font-weight: 900;
}

.contact-card small {
    color: var(--text-soft);
}

.contact-card strong {
    margin: 7px 0 17px;

    word-break: break-word;
}

.contact-card > span:last-child {
    color: var(--link-color);
    font-size: .88rem;
    font-weight: 700;
}

.map-section iframe {
    width: 100%;
    height: 460px;

    display: block;

    border: 0;

    filter: grayscale(.2);
}


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

.footer {
    margin-top: 100px;

    padding:
        70px 0
        25px;

    background: #07101f;
    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr repeat(3, .8fr);

    gap: 50px;
}

.footer-logo {
    max-height: 65px;

    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 330px;

    color: #9eabc1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9eabc1;

    transition: color .2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 55px;
    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    color: #8490a5;

    font-size: .82rem;
}


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

.whatsapp-button,
.home-button {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 900;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 13px 18px;

    border-radius: 999px;

    color: white;

    font-size: .85rem;
    font-weight: 800;

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

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.whatsapp-button {
    background: #108043;
}

.home-button {
    background: var(--gradient);
}

.whatsapp-button:hover,
.home-button:hover {
    transform:
        translateY(-4px)
        scale(1.02);

    box-shadow:
        0 20px 40px
        rgba(0,0,0,.25);
}


/* ==============================
   SCROLL REVEAL
============================== */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.zoom {
    transform:
        translateY(25px)
        scale(.96);
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* ==============================
   TRANSIÇÃO ENTRE PÁGINAS
============================== */

.page-transition {
    position: fixed;

    inset: 0;

    z-index: 99999;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            #0057d9,
            #2f80ed
        );

    transform: translateX(-100%);
}

body.page-leave
.page-transition {
    animation:
        pageFlowIn .35s
        forwards ease;
}

body.page-enter
.page-transition {
    animation:
        pageFlowOut .55s
        forwards ease;
}


/* ==============================
   ANIMAÇÕES
============================== */

@keyframes floating {

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

    50% {
        transform: translateY(-12px);
    }

}


@keyframes pageFlowIn {

    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }

}


@keyframes pageFlowOut {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }

}


/* ==============================
   RESPONSIVIDADE
============================== */

@media (max-width: 1050px) {

    .nav {
        gap: 2px;
    }

    .nav-link {
        padding: 8px 8px;
        font-size: .86rem;
    }

    .hero-grid {
        gap: 40px;
    }

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

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

}


@media (max-width: 850px) {

    .section {
        padding: 80px 0;
    }

    .header {
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;

        top: 72px;
        right: -100%;

        width: min(90%, 350px);
        height: calc(100vh - 72px);

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

        padding: 25px;

        background: var(--surface);

        border-left: 1px solid var(--border);

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

        transition: right .35s ease;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        padding: 14px;
    }

    .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 {
        padding-top: 130px;
    }

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

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

    .eyebrow {
        margin-inline: auto;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 500px;
    }

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

    .product-card.featured {
        transform: none;
    }

    .product-card.featured:hover {
        transform: translateY(-7px);
    }

    .split-heading {
        display: block;
    }

    .split-heading .text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .about-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .certificate-detail,
    .certificate-detail.reverse {
        grid-template-columns: 1fr;
    }

    .certificate-detail.reverse
    .certificate-info {
        order: 0;
    }

    .certificate-symbol {
        max-width: 350px;

        width: 100%;

        margin-inline: auto;
    }

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

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

}


@media (max-width: 600px) {

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

    .hero h1 {
        font-size: 3rem;
    }

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

    .trust-divider {
        width: 50px;
        height: 1px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .security-card {
        width: 90%;
        padding: 22px;
    }

    .floating-card {
        font-size: .75rem;
    }

    .floating-card-1 {
        top: 25px;
        left: 0;
    }

    .floating-card-2 {
        right: 0;
        bottom: 25px;
    }

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

    .section-heading {
        margin-bottom: 40px;
    }

    .testimonial-wrapper {
        padding: 0;
    }

    .carousel-control {
        display: none;
    }

    .testimonial {
        padding: 30px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .page-hero {
        padding:
            140px 0
            70px;
    }

    .certificate-detail {
        padding: 30px 22px;
    }

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

    .form-group.full-width {
        grid-column: auto;
    }

    .form-card {
        padding: 28px 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .home-button,
    .whatsapp-button {
        right: 14px;
        bottom: 14px;

        font-size: .75rem;

        padding: 11px 14px;
    }

}

/* ============================================
   TABELA / CARDS DE PREÇOS
============================================ */

.pricing-grid {
    display: grid;

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

    gap: 22px;
}

.price-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 30px;

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

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

    background: var(--surface);

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

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

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

    border-color:
        rgba(0, 87, 217, 0.35);

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

.price-type {
    color: var(--primary);

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

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-card h3 {
    margin-top: 8px;

    font-size: 2.5rem;

    line-height: 1;
}

.price-validity {
    margin-top: 8px;

    color: var(--text-secondary);

    font-weight: 600;
}

.price-main {
    display: flex;
    flex-direction: column;

    margin-top: 28px;
    padding-bottom: 25px;

    border-bottom:
        1px solid var(--border);
}

.price-main small {
    color: var(--text-soft);
}

.price-main strong {
    margin-top: 5px;

    color: var(--primary);

    font-size: 2rem;
}

.price-options {
    margin: 20px 0 28px;
}

.price-options > div {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
}

.price-options span {
    color: var(--text-secondary);

    font-size: 0.8rem;
}

.price-options strong {
    white-space: nowrap;

    font-size: 0.9rem;
}

.price-card .btn {
    margin-top: auto;
}

.certificate-notice {
    margin-top: 35px;

    padding: 25px 30px;

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

    border:
        1px solid rgba(0, 87, 217, 0.2);

    background: var(--primary-soft);
}

.certificate-notice strong {
    color: var(--primary);
}

.certificate-notice p {
    margin-top: 6px;

    color: var(--text-secondary);
}


/* RESPONSIVIDADE */

@media (max-width: 1050px) {

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

}


@media (max-width: 600px) {

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

}

/* ============================================
   PREÇO DO ORÇAMENTO
============================================ */

.quote-price-box {
    grid-column: 1 / -1;

    margin: 10px 0 20px;

    padding: 25px;

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

    border:
        1px solid rgba(0, 87, 217, 0.22);

    background:
        linear-gradient(
            135deg,
            var(--primary-soft),
            var(--surface)
        );
}

.quote-price-box > span {
    display: block;

    margin-bottom: 18px;

    color: var(--text-secondary);

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

    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-price-line {
    display: grid;

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

    gap: 20px;
}

.quote-price-line > div {
    display: flex;
    flex-direction: column;
}

.quote-price-line small {
    color: var(--text-soft);
}

.quote-price-line strong {
    margin-top: 4px;

    color: var(--primary);

    font-size: 1.75rem;
}

.quote-price-box p {
    margin-top: 18px;
    padding-top: 16px;

    border-top:
        1px solid var(--border);

    color: var(--text-secondary);

    font-size: 0.86rem;
}

.field-note {
    margin-top: 5px;

    color: var(--text-soft);

    font-size: 0.76rem;
}


@media (max-width: 600px) {

    .quote-price-line {
        grid-template-columns: 1fr;
    }

}

/* ============================================
   SEÇÃO ALTERNATIVA DE CERTIFICADOS
============================================ */

.certificados {
    width: 100%;
    padding: 60px 40px;
    box-sizing: border-box;
}

.certificados-topo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 45px;
}

.certificados-topo h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 56px);
    color: var(--text);
}

.certificados-topo a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 700;
}

.certificados-topo a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.certificados-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    .certificados {
        padding: 50px 24px;
    }

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

    .certificado-card {
        min-height: auto;
    }

    .certificados-topo {
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .certificados {
        padding: 40px 16px;
    }

    .certificados-topo {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .certificados-grid {
        gap: 16px;
    }

    .certificado-card {
        padding: 30px 24px;
    }
}


/* ==================================================
   AJUSTE DOS CARDS DE CERTIFICADOS
================================================== */

.certificates-section .container {
    width: 100%;
    max-width: none;
    padding-left: 22px;
    padding-right: 22px;
    box-sizing: border-box;
}

.certificates-section .split-heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.certificates-section .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
}

.certificates-section .product-card {
    width: 100%;
    max-width: none;
    min-width: 0;

    box-sizing: border-box;
}


/* Tablet */
@media (max-width: 900px) {

    .certificates-section .product-grid {
        grid-template-columns: 1fr;
    }

}


/* Celular */
@media (max-width: 600px) {

    .certificates-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .certificates-section .split-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

#btn-email {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;

    background: var(--gradient);
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#btn-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 87, 217, 0.24);
}

@media (max-width: 600px) {
    .logo {
        width: 200px;
    }
}

/* ======================================================
   ACESSIBILIDADE, CONTRASTE E CONTROLES
====================================================== */

::placeholder {
    color: var(--text-soft);
    opacity: 1;
}

.form-group select option {
    background: var(--surface);
    color: var(--text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

/* Impede que títulos e conteúdos destacados herdem uma cor suavizada por engano. */
.feature-card h3,
.product-card:not(.featured) h3,
.price-card h3,
.contact-card strong,
.form-group label {
    color: var(--text);
}

@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;
        scroll-behavior: auto !important;
    }
}
