/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

nav {
    background-color: #FEF4EE;
}


body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}*/





/* Somente computadores e telas maiores */
/*@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .navbar .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
}


@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}*/


/* Personal */





:root {
    --icp-primary: #183f32;
    --icp-primary-dark: #0d2b21;
    --icp-primary-light: #2f6b56;
    --icp-secondary: #bd9555;
    --icp-secondary-light: #e5c78f;
    --icp-background: #f5f3ed;
    --icp-surface: #ffffff;
    --icp-surface-soft: #eeebe2;
    --icp-text: #242925;
    --icp-text-muted: #6d756f;
    --icp-border: #dedbd2;
    --icp-success: #327555;
    --icp-danger: #a43f3f;
    --icp-warning: #ba7a23;
    --icp-shadow: 0 12px 35px rgba(28, 49, 40, 0.09);
    --icp-shadow-small: 0 5px 18px rgba(28, 49, 40, 0.07);
    --icp-radius: 18px;
    --icp-radius-small: 11px;
}

/* =========================================================
   BASE
   ========================================================= */

html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient( circle at top right, rgba(189, 149, 85, 0.08), transparent 30% ), var(--icp-background);
    color: var(--icp-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

main {
    min-height: calc(100vh - 170px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--icp-primary-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--icp-primary-light);
}

    a:hover {
        color: var(--icp-primary-dark);
    }

.text-muted {
    color: var(--icp-text-muted) !important;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.icp-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 74px;
    padding: 0;
    background: linear-gradient( 135deg, var(--icp-primary-dark), var(--icp-primary) );
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(13, 43, 33, 0.22);
}

    .icp-navbar .container-fluid,
    .icp-navbar .container {
        min-height: 74px;
    }

.icp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none;
}

.icp-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    background: linear-gradient( 145deg, var(--icp-secondary), #97713b );
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.icp-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.icp-brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.icp-brand-subtitle {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.icp-navbar .nav-link {
    position: relative;
    padding: 26px 14px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.94rem;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .icp-navbar .nav-link:hover,
    .icp-navbar .nav-link:focus,
    .icp-navbar .nav-link.active {
        color: #fff !important;
        background-color: rgba(255, 255, 255, 0.06);
    }

    .icp-navbar .nav-link::before {
        content: "";
        position: absolute;
        right: 14px;
        bottom: 18px;
        left: 14px;
        height: 2px;
        background-color: var(--icp-secondary-light);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.2s ease;
    }

    .icp-navbar .nav-link:hover::before,
    .icp-navbar .nav-link.active::before {
        transform: scaleX(1);
    }

.icp-navbar .dropdown-menu {
    min-width: 225px;
    padding: 9px;
    border: 1px solid rgba(24, 63, 50, 0.10);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--icp-shadow);
}

.icp-navbar .dropdown-item {
    padding: 10px 13px;
    border-radius: 9px;
    color: var(--icp-text);
    font-size: 0.92rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    .icp-navbar .dropdown-item:hover {
        color: var(--icp-primary-dark);
        background-color: rgba(47, 107, 86, 0.10);
        transform: translateX(3px);
    }

.icp-navbar .dropdown-divider {
    border-color: var(--icp-border);
}

.icp-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.28);
}

    .icp-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(229, 199, 143, 0.20);
    }

/* Abre dropdown ao passar o mouse apenas no desktop */

@media (min-width: 992px) {
    .icp-navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(9px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .icp-navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* =========================================================
   HERO DA PÁGINA INICIAL
   ========================================================= */

.icp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    overflow: hidden;
    background: radial-gradient( circle at 78% 25%, rgba(229, 199, 143, 0.22), transparent 32% ), linear-gradient( 120deg, var(--icp-primary-dark), var(--icp-primary) 55%, #285e4b );
    color: #fff;
}

    .icp-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( rgba(255, 255, 255, 0.025) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px );
        background-size: 46px 46px;
    }

    .icp-hero::after {
        content: "";
        position: absolute;
        right: -180px;
        bottom: -220px;
        width: 650px;
        height: 650px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 50%;
    }

.icp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 85px 0;
}

.icp-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--icp-secondary-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .icp-hero-label::before {
        content: "";
        width: 40px;
        height: 2px;
        background-color: var(--icp-secondary-light);
    }

.icp-hero h1 {
    max-width: 720px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.icp-hero p {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.icp-hero-reference {
    color: var(--icp-secondary-light);
    font-weight: 700;
}

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

.btn {
    border-radius: 10px;
    font-weight: 650;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    border-color: var(--icp-primary);
    background-color: var(--icp-primary);
}

    .btn-primary:hover,
    .btn-primary:focus {
        border-color: var(--icp-primary-dark);
        background-color: var(--icp-primary-dark);
        box-shadow: 0 9px 24px rgba(24, 63, 50, 0.18);
        transform: translateY(-1px);
    }

.btn-outline-primary {
    border-color: var(--icp-primary);
    color: var(--icp-primary);
}

    .btn-outline-primary:hover {
        border-color: var(--icp-primary);
        background-color: var(--icp-primary);
        color: #fff;
    }

.btn-gold {
    border: none;
    background-color: var(--icp-secondary);
    color: #fff;
}

    .btn-gold:hover {
        background-color: #a47d42;
        color: #fff;
        box-shadow: 0 9px 24px rgba(189, 149, 85, 0.25);
        transform: translateY(-1px);
    }

.btn-light-outline {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

    .btn-light-outline:hover {
        border-color: #fff;
        background-color: #fff;
        color: var(--icp-primary-dark);
    }

/* =========================================================
   SEÇÕES E TÍTULOS
   ========================================================= */

.icp-section {
    padding: 82px 0;
}

.icp-section-soft {
    background-color: var(--icp-surface-soft);
}

.icp-section-title {
    max-width: 680px;
    margin-bottom: 42px;
}

.icp-section-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--icp-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.icp-section-title h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.icp-section-title p {
    margin: 0;
    color: var(--icp-text-muted);
}

/* =========================================================
   CARDS
   ========================================================= */

.card,
.icp-card {
    border: 1px solid rgba(24, 63, 50, 0.08);
    border-radius: var(--icp-radius);
    background-color: var(--icp-surface);
    box-shadow: var(--icp-shadow-small);
}

.icp-card {
    height: 100%;
    padding: 30px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .icp-card:hover {
        border-color: rgba(189, 149, 85, 0.35);
        box-shadow: var(--icp-shadow);
        transform: translateY(-5px);
    }

.icp-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 17px;
    background: linear-gradient( 145deg, rgba(47, 107, 86, 0.14), rgba(189, 149, 85, 0.12) );
    color: var(--icp-primary);
    font-size: 1.5rem;
}

.icp-card h3 {
    font-size: 1.45rem;
}

.icp-card p {
    color: var(--icp-text-muted);
}

.card-header {
    padding: 19px 24px;
    border-bottom: 1px solid var(--icp-border);
    border-radius: var(--icp-radius) var(--icp-radius) 0 0 !important;
    background: linear-gradient( 90deg, rgba(47, 107, 86, 0.08), rgba(189, 149, 85, 0.08) );
}

.card-body {
    padding: 24px;
}

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

.form-label {
    color: var(--icp-text);
    font-weight: 650;
}

.form-control,
.form-select {
    min-height: 47px;
    border: 1px solid #d4d7d2;
    border-radius: var(--icp-radius-small);
    background-color: #fff;
    box-shadow: none;
}

textarea.form-control {
    min-height: 110px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--icp-primary-light);
    box-shadow: 0 0 0 0.22rem rgba(47, 107, 86, 0.12);
}

.form-check-input:checked {
    border-color: var(--icp-primary);
    background-color: var(--icp-primary);
}

.input-group-text {
    border-color: #d4d7d2;
    background-color: var(--icp-surface-soft);
}

/* =========================================================
   TABELAS
   ========================================================= */

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

    .table thead th {
        padding: 15px 17px;
        border-bottom: 1px solid var(--icp-border);
        background-color: rgba(24, 63, 50, 0.055);
        color: var(--icp-primary-dark);
        font-size: 0.79rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .table tbody td {
        padding: 15px 17px;
        border-color: rgba(222, 219, 210, 0.75);
        vertical-align: middle;
    }

.table-hover tbody tr:hover {
    background-color: rgba(47, 107, 86, 0.045);
}

/* =========================================================
   BADGES
   ========================================================= */

.badge {
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: 650;
}

.text-bg-success {
    background-color: var(--icp-success) !important;
}

.text-bg-warning {
    background-color: var(--icp-warning) !important;
}

.text-bg-secondary {
    background-color: var(--icp-primary-light) !important;
}

/* =========================================================
   ALERTAS
   ========================================================= */

.alert {
    border-radius: 13px;
}

.alert-success {
    border-color: rgba(50, 117, 85, 0.25);
    background-color: rgba(50, 117, 85, 0.10);
    color: #1f5139;
}

.alert-danger {
    border-color: rgba(164, 63, 63, 0.24);
    background-color: rgba(164, 63, 63, 0.09);
    color: #842f2f;
}

.alert-warning {
    border-color: rgba(186, 122, 35, 0.26);
    background-color: rgba(186, 122, 35, 0.10);
    color: #7e5019;
}

/* =========================================================
   BLOCO DE VERSÍCULO
   ========================================================= */

.icp-verse {
    position: relative;
    overflow: hidden;
    padding: 50px;
    border-radius: 26px;
    background: radial-gradient( circle at 80% 20%, rgba(229, 199, 143, 0.18), transparent 32% ), linear-gradient( 135deg, var(--icp-primary-dark), var(--icp-primary) );
    color: #fff;
    box-shadow: var(--icp-shadow);
}

    .icp-verse::before {
        content: "“";
        position: absolute;
        top: -52px;
        left: 15px;
        color: rgba(255, 255, 255, 0.07);
        font-family: Georgia, serif;
        font-size: 13rem;
    }

    .icp-verse blockquote {
        position: relative;
        z-index: 2;
        max-width: 850px;
        margin: 0;
        color: #fff;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(1.65rem, 3.6vw, 3rem);
        line-height: 1.35;
    }

.icp-verse-reference {
    position: relative;
    z-index: 2;
    margin-top: 23px;
    color: var(--icp-secondary-light);
    font-weight: 700;
}

/* =========================================================
   DASHBOARD
   ========================================================= */

.icp-dashboard-card {
    display: block;
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(24, 63, 50, 0.08);
    border-radius: var(--icp-radius);
    background-color: var(--icp-surface);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--icp-shadow-small);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

    .icp-dashboard-card:hover {
        border-color: rgba(189, 149, 85, 0.4);
        color: inherit;
        box-shadow: var(--icp-shadow);
        transform: translateY(-5px);
    }

    .icp-dashboard-card .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
        border-radius: 15px;
        background-color: rgba(47, 107, 86, 0.11);
        color: var(--icp-primary);
        font-size: 1.35rem;
    }

    .icp-dashboard-card h2,
    .icp-dashboard-card h3 {
        margin-bottom: 8px;
        font-size: 1.35rem;
    }

    .icp-dashboard-card p {
        margin: 0;
        color: var(--icp-text-muted);
    }

/* =========================================================
   RODAPÉ
   ========================================================= */

.icp-footer {
    padding: 52px 0 24px;
    background-color: var(--icp-primary-dark);
    color: rgba(255, 255, 255, 0.72);
}

    .icp-footer h2,
    .icp-footer h3,
    .icp-footer h4 {
        color: #fff;
    }

    .icp-footer a {
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
    }

        .icp-footer a:hover {
            color: var(--icp-secondary-light);
        }

.icp-footer-divider {
    margin: 34px 0 22px;
    border-color: rgba(255, 255, 255, 0.10);
}

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

@media (max-width: 991.98px) {
    .icp-navbar {
        position: relative;
    }

        .icp-navbar .navbar-collapse {
            padding: 10px 0 18px;
        }

        .icp-navbar .nav-link {
            padding: 11px 13px !important;
            border-radius: 9px;
        }

            .icp-navbar .nav-link::before {
                display: none;
            }

        .icp-navbar .dropdown-menu {
            margin-left: 12px;
            border: none;
            background-color: rgba(255, 255, 255, 0.06);
            box-shadow: none;
        }

        .icp-navbar .dropdown-item {
            color: rgba(255, 255, 255, 0.78);
        }

            .icp-navbar .dropdown-item:hover {
                background-color: rgba(255, 255, 255, 0.08);
                color: #fff;
            }

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

    .icp-section {
        padding: 62px 0;
    }
}

@media (max-width: 767.98px) {
    .icp-brand-subtitle {
        display: none;
    }

    .icp-hero {
        min-height: auto;
    }

    .icp-hero-content {
        padding: 70px 0;
    }

    .icp-hero h1 {
        font-size: 2.65rem;
    }

    .icp-section {
        padding: 50px 0;
    }

    .icp-card,
    .card-body {
        padding: 20px;
    }

    .icp-verse {
        padding: 34px 24px;
    }

    .table tbody td,
    .table thead th {
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .icp-brand-title {
        font-size: 0.96rem;
    }

    .icp-brand-logo {
        width: 40px;
        height: 40px;
    }

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

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -8px;
        margin-left: 4px;
    }

/* Desktop */
@media (min-width: 992px) {
    .dropdown-submenu > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateX(8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}