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

:root {
    --safe-primary: #ff8600;
    --safe-primary-dark: #e06f00;
    --safe-bg: #050609;
    --safe-surface: #111318;
    --safe-surface-alt: #181b22;
    --safe-border: #252836;
    --safe-text: #f3f4f6;
    --safe-muted: #9ca3af;
    --safe-success: #22c55e;
    --safe-danger: #ef4444;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgba(0,0,0,0.6);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Exo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #1f2933 0, #020617 55%, #000 100%);
    color: var(--safe-text);
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* HEADER */

.site-header {
    padding: 1.2rem 6vw 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: radial-gradient(circle at top left, rgba(255,134,0,0.18), transparent 55%);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo-wrap {
    flex-shrink: 0;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    box-shadow: 0 0 0 2px rgba(255,134,0,0.6), 0 16px 35px rgba(0,0,0,0.75);
}

.title-wrap h1 {
    font-weight: 700;
    font-size: clamp(1.1rem, 2.1vw, 1.6rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.1rem;
}

.title-wrap .subtitle {
    margin: 0;
    color: var(--safe-muted);
    font-size: 0.9rem;
}

/* NAV */

.main-nav {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.6rem;
    margin: 0;
    padding: 0.35rem 0.6rem 0.6rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.25);
    box-shadow: 0 18px 40px rgba(15,23,42,0.7);
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--safe-muted);
    transition: 0.18s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(148,163,184,0.18);
}

.main-nav .nav-admin {
    border: 1px solid rgba(255,134,0,0.75);
    color: #fff;
    background: linear-gradient(135deg, #ff8600, #ffb347);
    box-shadow: 0 8px 20px rgba(255,134,0,0.55);
}

.main-nav .nav-admin:hover {
    filter: brightness(1.05);
}

.nav-toggle {
    display: none;
}

/* MAIN LAYOUT */

.site-main {
    flex: 1;
    padding: 1.5rem 6vw 3.5rem;
}

/* SECTIONS */

.section {
    margin: 1.8rem auto;
    max-width: 1180px;
}

.section-header {
    text-align: center;
    margin-bottom: 1.3rem;
}

.section-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-header p {
    margin: 0;
    color: var(--safe-muted);
    font-size: 0.95rem;
}

/* HERO */

.hero {
    margin-top: 1.4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
    gap: 1.5rem;
}

.hero-profile {
    padding: 1.4rem;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(255,134,0,0.22), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.28);
    box-shadow: var(--shadow-soft);
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 32px rgba(15,23,42,0.85);
    margin-bottom: 0.8rem;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-profile h2 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-text {
    margin: 0 0 1rem;
    color: var(--safe-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* VEHICLE CARDS */

.hero-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.vehicle-card {
    border-radius: var(--radius-lg);
    padding: 1rem 0.9rem;
    background: radial-gradient(circle at top, rgba(248,250,252,0.06), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 14px 30px rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vehicle-card .icon {
    font-size: 1.7rem;
}

.vehicle-card h3 {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vehicle-card p {
    margin: 0;
    color: var(--safe-muted);
    font-size: 0.82rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, #ff8600, #ffb347);
    border-color: rgba(255,134,0,0.9);
    color: #111827;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255,134,0,0.55);
}

.btn.primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn.secondary {
    background: rgba(15,23,42,0.96);
    color: #e5e7eb;
    border-color: rgba(148,163,184,0.5);
}

.btn.secondary:hover {
    background: rgba(31,41,55,0.98);
}

.btn.outline {
    background: transparent;
    color: #e5e7eb;
    border-color: rgba(148,163,184,0.5);
}

.btn.outline:hover {
    background: rgba(15,23,42,0.95);
}

.btn.store {
    width: 100%;
    justify-content: center;
}

.btn.footer-whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #e5e7eb;
    border-color: rgba(34,197,94,0.9);
    box-shadow: 0 10px 24px rgba(22,163,74,0.7);
}

.btn.footer-instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 45%, #d6249f 70%, #285AEB 100%);
    color: #fff;
    border-color: rgba(251,113,133,0.9);
}

/* APP SECTION */

.app-section {
    margin-top: 2rem;
}

.app-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 640px;
    margin: 0.8rem auto 0;
}

/* PLANS */

.plans-section {
    margin-top: 2.2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.plan-card {
    border-radius: 20px;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(9,9,11,0.96));
    border: 1px solid rgba(148,163,184,0.42);
    box-shadow: var(--shadow-soft);
}

.plan-card h3 {
    margin: 0 0 0.15rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.plan-subtitle {
    margin: 0 0 0.5rem;
    color: var(--safe-muted);
    font-size: 0.85rem;
}

.plan-price {
    margin: 0 0 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.plan-description {
    font-size: 0.85rem;
    color: var(--safe-muted);
    line-height: 1.5;
}

/* SUPORTE */

.support-section {
    margin-top: 2.2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top right, rgba(34,197,94,0.15), rgba(15,23,42,0.98));
    border: 1px solid rgba(34,197,94,0.35);
    box-shadow: var(--shadow-soft);
}

.support-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* INSTITUCIONAL */

.institutional-section {
    margin-top: 2.2rem;
}

.institutional-content {
    border-radius: var(--radius-xl);
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(148,163,184,0.35);
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-soft);
}

.institutional-content p {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    color: var(--safe-muted);
}

/* CERTIFICAÇÕES */

.cert-section {
    margin-top: 2.2rem;
}

.cert-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
}

.cert-logo {
    padding: 0.6rem 0.8rem;
    border-radius: 16px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.35);
}

.cert-logo img {
    max-height: 48px;
}

.cert-action {
    text-align: center;
    margin-top: 1rem;
}

/* REVIEWS */

.reviews-section {
    margin-top: 2.2rem;
}

.reviews-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    border-radius: var(--radius-xl);
    padding: 1.3rem 1.4rem;
    background: radial-gradient(circle at top, rgba(250,204,21,0.16), rgba(15,23,42,0.98));
    border: 1px solid rgba(250,204,21,0.5);
    box-shadow: var(--shadow-soft);
}

/* PARTNERS */

.partners-section {
    margin-top: 2.2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.partner-card {
    border-radius: 20px;
    padding: 1rem;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(148,163,184,0.35);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.partner-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.partner-card h3 {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.partner-details summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.85rem;
    color: var(--safe-muted);
}

.partner-details summary::-webkit-details-marker {
    display: none;
}

.partner-details p {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--safe-muted);
}

.partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(15,23,42,0.9);
    padding: 1.2rem 6vw 1.6rem;
    background: linear-gradient(to top, #020617, #020617dd 40%, transparent);
    text-align: center;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.footer-dev {
    margin: 0;
    color: var(--safe-muted);
    font-size: 0.82rem;
}

.footer-dev a {
    color: var(--safe-primary);
    text-decoration: none;
}

/* ADMIN */

.admin-body {
    background: radial-gradient(circle at top, #1f2933 0, #020617 55%, #000 100%);
    color: var(--safe-text);
    min-height: 100vh;
}

.admin-header {
    padding: 0.8rem 4vw;
    border-bottom: 1px solid rgba(15,23,42,0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(15,23,42,0.98);
    position: sticky;
    top: 0;
    z-index: 40;
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
}

.admin-header h1 {
    margin: 0;
    font-size: 1rem;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-nav a {
    font-size: 0.78rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--safe-muted);
    border: 1px solid rgba(55,65,81,0.9);
    background: rgba(15,23,42,0.9);
}

.admin-nav a:hover {
    color: #fff;
    border-color: rgba(148,163,184,0.8);
}

.admin-nav .admin-logout {
    border-color: rgba(239,68,68,0.8);
    color: #fecaca;
}

.admin-main {
    padding: 1.4rem 4vw 2.5rem;
}

.admin-section {
    max-width: 1080px;
    margin: 0 auto 1.8rem;
    background: rgba(15,23,42,0.96);
    border-radius: 22px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.3rem 1.2rem;
}

.admin-section h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

label {
    font-size: 0.8rem;
    color: var(--safe-muted);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

input[type="text"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea {
    border-radius: 10px;
    border: 1px solid rgba(55,65,81,0.9);
    background: #020617;
    color: #e5e7eb;
    padding: 0.4rem 0.55rem;
    font-family: inherit;
    font-size: 0.85rem;
}

textarea {
    resize: vertical;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.admin-table thead {
    background: rgba(15,23,42,0.98);
}

.admin-table th,
.admin-table td {
    border: 1px solid rgba(31,41,55,0.9);
    padding: 0.35rem 0.45rem;
}

.admin-table th {
    text-align: left;
    font-weight: 600;
}

.admin-table tr:nth-child(even) {
    background: rgba(15,23,42,0.98);
}

.admin-table a {
    color: var(--safe-primary);
    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

.color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    vertical-align: middle;
    margin-right: 4px;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--safe-primary);
    font: inherit;
    cursor: pointer;
}

/* LOGIN */

.admin-login-card {
    max-width: 360px;
    margin: 4rem auto;
    padding: 1.3rem 1.5rem 1.4rem;
    border-radius: 20px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.admin-logo img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.admin-login-card h1 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
}

.admin-login-card form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.btn.full {
    width: 100%;
    justify-content: center;
}

.error {
    color: #fecaca;
    background: rgba(127,29,29,0.6);
    border-radius: 10px;
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
}

.success {
    color: #bbf7d0;
    background: rgba(22,101,52,0.6);
    border-radius: 10px;
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
}

.admin-back-link {
    margin-top: 0.6rem;
    font-size: 0.8rem;
}

/* UTIL */

.admin-shortcuts {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .support-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

    .main-nav ul {
        position: absolute;
        right: 6vw;
        top: 3.3rem;
        flex-direction: column;
        align-items: stretch;
        padding: 0.4rem 0.5rem;
        background: rgba(15,23,42,0.98);
        border-radius: 14px;
        display: none;
    }

    .main-nav ul.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        background: rgba(15,23,42,0.98);
        border-radius: 999px;
        border: 1px solid rgba(148,163,184,0.6);
        color: #e5e7eb;
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
        cursor: pointer;
        margin-right: 0.4rem;
    }
}

@media (max-width: 700px) {
    .hero-visual {
        grid-template-columns: minmax(0, 1fr);
    }

    .plans-grid,
    .partners-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-buttons {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-top {
        align-items: flex-start;
    }
}


.app-buttons .btn {
    font-size:1rem;
    padding:0.8rem 1rem;
    border-radius:14px;
    text-align:center;
    font-weight:600;
    box-shadow:0 6px 18px rgba(0,0,0,0.35);
}

.header-top, .title-wrap, .main-nav, .main-nav ul {
    justify-content:center!important;
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

.site-header {
    text-align:center;
}




/* ===== Melhorias de vida nos botões de menu ===== */

.main-nav ul {
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.main-nav a {
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,134,0,0.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.main-nav a:hover::before {
    opacity: 1;
}

.main-nav a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15,23,42,0.9);
}

.main-nav .nav-admin {
    position: relative;
    overflow: hidden;
}

.main-nav .nav-admin::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.22), transparent 60%);
    mix-blend-mode: screen;
    transform: translateX(-120%);
    transition: transform 0.45s ease;
}

.main-nav .nav-admin:hover::after {
    transform: translateX(120%);
}

/* ===== Botões do app com mais vida, responsivos ===== */

.app-buttons {
    max-width: 620px;
    margin: 0.8rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 700px) {
    .app-buttons {
        grid-template-columns: minmax(0, 1fr);
    }
}

.app-buttons .btn {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.app-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.5);
    filter: brightness(1.04);
}

/* ===== Painel ADM menos chamativo ===== */

.admin-body {
    background: #020617;
}

.admin-header {
    background: #020617;
    border-bottom: 1px solid #111827;
    box-shadow: none;
}

.admin-section {
    background: #020617;
    border-color: #111827;
    box-shadow: none;
}

.admin-login-card {
    background: #020617;
    border-color: #111827;
    box-shadow: none;
}

.admin-nav a {
    background: #020617;
    border-color: #1f2937;
    color: #9ca3af;
}

.admin-nav a:hover {
    background: #111827;
    border-color: #4b5563;
    color: #e5e7eb;
}

.admin-body .btn.primary {
    background: linear-gradient(135deg, #1f2937, #0f172a);
    border-color: #111827;
    color: #e5e7eb;
    box-shadow: none;
}

.admin-body .btn.primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}




/* Centralização absoluta da logo, título, subtítulo e menu no topo */

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.3rem;
}

.title-wrap {
    text-align: center;
    width: 100%;
}

.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.6rem;
}

.main-nav ul {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

