:root {
    --bg: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --baxi-blue: #0057b8;
    --baxi-blue-dark: #003f86;
    --line: #dbe3ef;
    --surface: #f8fbff;
    --surface-warm: #faf8f6;
    --shadow-soft: 0 4px 12px rgba(2, 32, 71, 0.04), 0 12px 32px rgba(2, 32, 71, 0.06);
    --radius: 16px;
    --container: 1120px;
    --surface-2: #eef4fd;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 18% 20%, #ebf2fb 0%, transparent 50%),
        radial-gradient(ellipse at 82% 78%, #f0f4fe 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, #f8faff 0%, transparent 40%),
        var(--bg);
    line-height: 1.5;
    padding-top: 86px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: 4rem 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    padding: 0;
}

.brand-mark img {
    display: block;
    width: auto;
    height: auto;
    max-height: 52px;
    max-width: 100%;
}

.brand-text {
    display: none;
}

.menu-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 600;
}

.primary-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.primary-nav.is-open {
    display: flex;
}

.nav-cta {
    background: var(--baxi-blue);
    color: #fff;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    text-align: center;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}
.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    min-width: 34px;
    padding: 0 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}
.lang-switcher__item--active {
    background: var(--baxi-blue);
    border-color: var(--baxi-blue);
    color: #fff;
}
.lang-switcher__item:hover:not(.lang-switcher__item--active) {
    border-color: var(--baxi-blue);
    color: var(--baxi-blue);
}

.hero {
    position: relative;
    min-height: 72vh;
    max-height: 90vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #0d2442;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(0, 37, 77, 0.65) 15%, rgba(0, 87, 184, 0.25) 35%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0 4rem;
    color: #fff;
}

.hero-content > * {
    animation: fade-up 700ms ease both;
}

.hero-content > *:nth-child(2) {
    animation-delay: 90ms;
}

.hero-content > *:nth-child(3) {
    animation-delay: 180ms;
}

.hero-content > *:nth-child(4) {
    animation-delay: 260ms;
}

.hero-content > *:nth-child(5) {
    animation-delay: 320ms;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    opacity: 0.95;
}

.eyebrow-blue {
    color: var(--baxi-blue);
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.07;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    padding: 0.88rem 1.3rem;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.btn-primary {
    background: var(--baxi-blue);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 87, 184, 0.25);
}

.btn-primary:hover {
    background: var(--baxi-blue-dark);
    transform: translateY(-2px);
}

.hero-pills {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-pills span {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.hero-metrics article {
    background: rgba(8, 35, 64, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    padding: 0.6rem;
}

.hero-metrics strong {
    display: block;
    font-size: 1.22rem;
    line-height: 1.1;
}

.hero-metrics p {
    margin-top: 0.22rem;
    font-size: 0.78rem;
    opacity: 0.9;
}

.visual-strip {
    padding-top: 1.6rem;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(0, 87, 184, 0.02) 0%, transparent 50%),
        var(--bg);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.visual-tile {
    position: relative;
    min-height: 180px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    background: var(--surface-2);
}

.visual-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.visual-tile-large {
    position: relative;
    min-height: 290px;
    color: #fff;
    display: flex;
    align-items: end;
}

.visual-tile-large::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 30, 66, 0.7) 0%, rgba(0, 87, 184, 0.22) 68%);
}

.visual-copy {
    position: relative;
    z-index: 1;
    padding: 1.1rem;
    max-width: 38ch;
}

.visual-copy h2 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.section-head {
    margin-bottom: 1.45rem;
    display: grid;
    gap: 0.7rem;
}

.services {
    background:
        radial-gradient(ellipse at 30% 60%, rgba(0, 87, 184, 0.03) 0%, transparent 50%),
        var(--surface);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bento-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.35rem;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.bento-card-media {
    position: relative;
    height: 120px;
    margin: -1.35rem -1.35rem 1rem;
    background-color: var(--surface-2);
    overflow: hidden;
}

.bento-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 87, 184, 0.78), rgba(0, 87, 184, 0.18));
}

.bento-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(4, 25, 50, 0.14);
}

.bento-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.16rem;
}

.bento-card p {
    color: var(--muted);
}

.contact {
    background:
        radial-gradient(ellipse at 18% 50%, rgba(0, 87, 184, 0.04) 0%, transparent 55%),
        var(--bg);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-map {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.6rem;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-map:hover {
    border-color: rgba(0, 87, 184, 0.35);
    box-shadow: 0 8px 20px rgba(2, 32, 71, 0.08), 0 20px 44px rgba(2, 32, 71, 0.08);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: calc(var(--radius) - 0.6rem);
}

@media (max-width: 767px) {
    .contact-map {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: grid;
    gap: 0.35rem;
}

.contact-info .eyebrow {
    margin-bottom: 0.5rem;
}

.contact-info h2 {
    margin-bottom: 0.5rem;
}

.contact-detail {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-detail strong {
    color: var(--baxi-blue);
    font-weight: 700;
    min-width: 5.5ch;
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--baxi-blue);
    text-decoration: underline;
}

.contact-detail a:hover {
    color: var(--baxi-blue-dark);
}

.lead-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
    display: grid;
    gap: 0.55rem;
    box-shadow: var(--shadow-soft);
}

.lead-form label {
    font-size: 0.94rem;
    font-weight: 600;
}

.lead-form input,
.lead-form select {
    width: 100%;
    border: 1px solid #bfccdd;
    border-radius: 12px;
    min-height: 44px;
    padding: 0.62rem 0.75rem;
    font: inherit;
    background: #fff;
}

/* ── Anti‑spam honeypot: hidden from humans, visible to bots ──────── */
.lead-form .hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.consent-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    margin-top: 0.35rem;
}

.lead-form .consent-row input[type='checkbox'] {
    width: 18px;
    min-height: 18px;
    margin-top: 0.18rem;
    accent-color: var(--baxi-blue);
}

.consent-row span {
    font-size: 0.9rem;
    color: var(--muted);
}

.consent-row a {
    color: var(--baxi-blue);
    text-decoration: underline;
}

.call-cost-note {
    font-size: 0.84rem;
    color: var(--muted);
    margin-top: 0.28rem;
}

.form-alert {
    border-radius: 12px;
    padding: 0.68rem 0.78rem;
    font-size: 0.92rem;
}

.alert-success {
    background: #e7f6ed;
    color: #0f5a2d;
    border: 1px solid #bce3cb;
}

.alert-error {
    background: #fff0f0;
    color: #8a1d1d;
    border: 1px solid #f5c3c3;
}

.site-footer {
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-links a {
    text-decoration: underline;
    color: var(--baxi-blue-dark);
}

.legal-page {
    padding-top: 2.4rem;
}

.footer-watermark {
    font-size: 0.78rem;
    opacity: 0.65;
}
.footer-watermark a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-watermark a:hover {
    opacity: 1;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: clamp(1rem, 2vw, 2rem);
    display: grid;
    gap: 0.9rem;
}

.legal-card h1 {
    max-width: 100%;
    color: var(--baxi-blue-dark);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.legal-card h2 {
    font-size: 1.15rem;
    margin-top: 0.8rem;
}

.legal-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.legal-card p {
    color: var(--muted);
}

.legal-updated {
    font-size: 0.9rem;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--baxi-blue-dark);
    font-weight: 700;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
}

.legal-back-link:hover {
    background: #dce9fb;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 14px 24px rgba(11, 86, 41, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
    display: block;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 28px rgba(11, 86, 41, 0.34);
}

.facebook-float {
    position: fixed;
    right: 1rem;
    bottom: 5.25rem;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    box-shadow: 0 14px 24px rgba(8, 67, 150, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.facebook-float img {
    width: 28px;
    height: 28px;
    display: block;
}

.facebook-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 28px rgba(8, 67, 150, 0.34);
}

.scroll-top {
    position: fixed;
    right: 1rem;
    bottom: 9.5rem;
    z-index: 29;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--baxi-blue);
    color: #fff;
    box-shadow: 0 12px 22px rgba(0, 63, 134, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    box-shadow: 0 16px 26px rgba(0, 63, 134, 0.34);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 28px;
    height: 28px;
    display: block;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 550ms ease, transform 550ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .visual-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .visual-tile-large {
        grid-row: 1 / span 2;
    }

    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(140px, auto);
    }

    .bento-card {
        grid-column: span 2;
    }

    .card-main {
        grid-column: span 4;
    }

    .card-tall {
        grid-column: span 2;
        grid-row: span 2;
    }

    .card-wide {
        grid-column: span 3;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

@media (min-width: 900px) {
    .nav-wrap {
        min-height: 86px;
    }

    .brand-mark img {
        max-height: 58px;
    }

    .menu-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        border: 0;
        padding: 0;
        gap: 1rem;
        background: transparent;
    }

    .hero-content {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 620px) {
    .nav-wrap {
        min-height: 72px;
    }

    .brand-mark img {
        max-height: 44px;
    }

    .hero {
        min-height: auto;
        max-height: none;
    }

    .hero-content {
        padding-top: 3.5rem;
        padding-bottom: 2.5rem;
    }

    .scroll-top {
        bottom: 9.25rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .bento-card-media {
        height: 104px;
    }
}

@media (orientation: portrait) {
    .hero {
        min-height: clamp(460px, 58vh, 620px);
        max-height: none;
    }

    .hero-content {
        padding-top: 3.75rem;
        padding-bottom: 2.75rem;
    }
}

@media (orientation: portrait) and (max-width: 620px) {
    .hero {
        min-height: clamp(400px, 52vh, 520px);
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 2.25rem;
    }
}

/* ==============================
   MAINTENANCE PAGE — bordered box
   ============================== */

.maintenance-mode {
    padding-top: 0;
}

.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fc;
}

/* Bordered box — 1px baxi-blue, shadow */
.maintenance-box {
    width: min(100% - 2rem, 1120px);
    background: #fff;
    border: 1px solid var(--baxi-blue);
    border-radius: 16px;
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
    box-shadow:
        0 4px 16px rgba(0,87,184,0.04),
        0 20px 48px rgba(0,87,184,0.06);
}

/* Inner content wrapper — keeps text at a readable width */
.maintenance-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

/* Logo — with subtle drop shadow */
.maintenance-logo {
    margin-bottom: 2rem;
}

.maintenance-logo img {
    max-height: 60px;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0,87,184,0.06));
}

/* Badge "Manutenção" */
.maintenance-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    border-radius: 40px;
    background: rgba(0,87,184,0.06);
    color: var(--baxi-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,87,184,0.04);
}

/* Title */
.maintenance-title {
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    color: var(--baxi-blue-dark);
    margin: 0 0 0.75rem;
    line-height: 1.1;
    font-weight: 650;
}

/* Description */
.maintenance-desc {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 45ch;
}

/* Divider — subtle blue line */
.maintenance-divider {
    width: 60px;
    height: 2px;
    background: var(--baxi-blue);
    opacity: 0.15;
    border: 0;
    margin: 2rem auto;
    border-radius: 4px;
}

/* Contact line */
.maintenance-contact {
    color: var(--muted);
    font-size: 0.95rem;
}

.maintenance-contact a {
    color: var(--baxi-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.maintenance-contact a:hover {
    color: var(--baxi-blue-dark);
    text-decoration: underline;
}

/* Action buttons — pill-shaped, brand blue */
.maintenance-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.maintenance-actions .btn {
    min-width: 140px;
    padding: 0.75rem 1.75rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.25s, box-shadow 0.25s;
}

.maintenance-actions .btn:hover {
    transform: translateY(-2px);
}

.maintenance-actions .btn-primary {
    box-shadow: 0 4px 20px rgba(0,87,184,0.28);
}

.maintenance-actions .btn-primary:hover {
    box-shadow: 0 8px 28px rgba(0,87,184,0.35);
}

.maintenance-actions .btn-secondary {
    box-shadow: 0 2px 10px rgba(2,32,71,0.08);
}

.maintenance-actions .btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(2,32,71,0.14);
}

/* Animation */
@keyframes maintenance-fade-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.maintenance-box {
    animation: maintenance-fade-in 0.6s ease-out;
}

/* Mobile */
@media (max-width: 600px) {
    .maintenance-page {
        padding: 1rem;
        min-height: 100dvh;
    }

    .maintenance-box {
        width: 100%;
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .maintenance-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .maintenance-desc {
        font-size: 1rem;
    }
}

/* ==============================
   ADMIN BAR (maintenance preview)
   ============================== */

.admin-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--baxi-blue);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.admin-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    max-width: var(--container, 1120px);
    margin: 0 auto;
}

.admin-bar__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    white-space: nowrap;
}

.admin-bar__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: admin-bar-pulse 2s infinite;
}

@keyframes admin-bar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.admin-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-bar__btn {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.admin-bar__btn:hover {
    background: rgba(255,255,255,0.25);
}

.admin-bar__btn--active {
    background: rgba(255,255,255,0.25);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.admin-bar__link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.admin-bar__link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Compensate for fixed admin bar */
.has-admin-bar {
    padding-top: 40px;
}

.has-admin-bar .site-header {
    top: 40px;
}

@media (max-width: 600px) {
    .admin-bar__inner {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.4rem 1rem;
    }

    .admin-bar__actions {
        width: 100%;
        justify-content: center;
    }

    .has-admin-bar {
        padding-top: 76px;
    }

    .has-admin-bar .site-header {
        top: 76px;
    }
}

/* ==============================
   ABOUT PAGE (sobre.php)
   ============================== */
.about-hero {
    padding-top: 6rem;
}
.about-hero .section-head {
    margin-bottom: 2rem;
}
.about-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.about-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: var(--baxi-blue);
}
.about-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    line-height: 1.7;
}
.about-card p:last-child {
    margin-bottom: 0;
}
.about-card a {
    color: var(--baxi-blue);
    text-decoration: underline;
}
.about-card a:hover {
    color: var(--baxi-blue-dark);
}

/* Values grid */
.about-values {
    background: var(--surface);
}
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.about-value-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.about-value-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-value-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}
.about-value-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--baxi-blue);
    text-align: center;
}
.about-value-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    text-align: justify;
}

/* Contact grid on about page */
.about-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.about-contact-grid p {
    margin: 0 0 0.5rem;
    color: var(--muted);
}
.about-contact-grid p:last-child {
    margin-bottom: 0;
}
.call-cost-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0.25rem 0 0;
}
.call-cost-note:first-of-type {
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .about-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
