/* =========================================================
   PALETA / VARIÁVEIS
   ========================================================= */
:root {
    --bs-primary: #C77C5A;
    --bs-primary-rgb: 199, 124, 90;

    --bs-secondary: #8FB9B3;
    --bs-secondary-rgb: 143, 185, 179;

    --bg: #FAF7F2;
    --bg-soft: #F3E8DF;

    --text: #4A3B33;
    --text-muted: #7A6A60;
}

/* =========================================================
   BASE
   ========================================================= */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

p {
    color: var(--text);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: linear-gradient(135deg, var(--bg), var(--bg-soft));
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    padding: 4rem 1rem;
    text-align: center;
}

/* LOGO DO HERO – DESTAQUE VISUAL */
.hero-logo {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto 1.25rem auto;
}

/* Tablets */
@media (max-width: 992px) {
    .hero-logo {
        max-width: 380px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-logo {
        max-width: 300px;
    }
}

/* Título principal do Hero */
.hero h1 {
    font-weight: 700;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    margin-top: .25rem;
}

/* Texto de apoio */
.hero .lead {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: .6rem 1.4rem;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 8px 18px rgba(var(--bs-primary-rgb), .25);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #b66f4f;
    border-color: #b66f4f;
    box-shadow: 0 10px 22px rgba(var(--bs-primary-rgb), .35);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #7aa9a3;
    border-color: #7aa9a3;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.navbar-brand {
    font-weight: 700;
    color: var(--text);
}

.navbar-brand:hover {
    color: var(--bs-primary);
}

/* Links */
.navbar .nav-link {
    font-weight: 500;
    color: var(--text);
    position: relative;
    transition: color .2s ease;
}

.navbar .nav-link:hover {
    color: var(--bs-primary);
}

/* Active link */
.navbar .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar .nav-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        background-color: var(--bs-primary);
        border-radius: 2px;
    }
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.dropdown-item {
    font-weight: 500;
    color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-primary);
}

.dropdown-item.active {
    font-weight: 600;
    background-color: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
}

/* =========================================================
   FORMULÁRIOS
   ========================================================= */
.form-control,
.form-select,
textarea {
    padding: .65rem .85rem;
}

/* =========================================================
   TÍTULOS DE SEÇÃO
   ========================================================= */
section h2 {
    margin-bottom: 1.5rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background-color: var(--bg-soft);
}

footer p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* =========================================================
   FOOTER PROFISSIONAL
   ========================================================= */
.site-footer {
    background-color: var(--bg-soft);
    padding: 3rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer p {
    color: var(--text-muted);
}

.footer-brand {
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
}

.footer-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.footer-links a {
    display: inline-block;
    color: var(--text-muted);
    margin-bottom: .4rem;
}

.footer-links a:hover {
    color: var(--bs-primary);
}

.footer-divider {
    border-color: rgba(0,0,0,.08);
}

.site-footer a {
    color: var(--text-muted);
    transition: color .2s ease;
}

.site-footer a:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

/* =========================================================
   ACESSIBILIDADE / UX
   ========================================================= */
a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(var(--bs-primary-rgb), .35);
    outline-offset: 2px;
}
