/* ── Botões principais ─────────────────────────────────────────── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.2s;
    background: #e10600;
    color: #fff2f0;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(229, 226, 225, 0.25);
    color: #e5e2e1;
}

.btn-ghost .site-icon {
    color: #ffffff;
    stroke: #ffffff !important;
}

.btn-ghost .site-icon use {
    stroke: #ffffff !important;
    fill: none !important;
}

.btn-ghost[href^="tel:"] {
    color: #ffffff;
}

.btn-ghost[href^="tel:"] .site-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Tamanhos */
.btn-nav    { padding: 8px 24px;   gap: 8px; }
.btn-sm     { padding: 14px 24px;  gap: 8px;  font-size: 0.8125rem; }
.btn-faq    { padding: 14px 28px;  gap: 8px;  font-size: 0.875rem; }
.btn-md     { padding: 16px 32px;  gap: 8px; }
.btn-mobile { padding: 16px 48px;  gap: 10px; font-size: 1.25rem; }
.btn-lg     { padding: 20px 40px;  gap: 10px; font-size: 1.125rem; }
.btn-xl     { padding: 20px 48px;  gap: 10px; font-size: 1.25rem; }

/* Hover lift */
.btn-lift:hover { transform: translateY(-3px); }

.btn-primary:focus-visible,
.btn-ghost:focus-visible {
    outline: 2px solid #e10600;
    outline-offset: 4px;
}

/* Ícone pequeno dentro de botão */
.solutions-nav {
    position: relative;
}

.solutions-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #e5e2e1;
    cursor: pointer;
    font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: inherit;
    text-transform: uppercase;
    transition: color 0.2s, border-color 0.2s;
}

.solutions-nav.is-active .solutions-trigger,
.solutions-nav:focus-within .solutions-trigger,
.solutions-nav:hover .solutions-trigger {
    color: #e10600;
    border-color: #e10600;
}

.solutions-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.solutions-nav:focus-within .solutions-trigger svg,
.solutions-nav:hover .solutions-trigger svg {
    transform: rotate(180deg);
}

.solutions-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 300px;
    padding: 10px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(229, 226, 225, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s, transform 0.18s;
}

.solutions-nav:focus-within .solutions-dropdown,
.solutions-nav:hover .solutions-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.solutions-dropdown a,
.mobile-solutions-panel a,
.footer-solutions a {
    text-decoration: none;
}

.faq-btn {
    cursor: pointer;
}

.faq-btn span {
    flex: 1;
}

.faq-icon {
    width: 34px;
    height: 34px;
    padding: 8px;
    color: #e10600;
    border: 1px solid rgba(225, 6, 0, 0.42);
    background: rgba(225, 6, 0, 0.08);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.18s,
                border-color 0.18s;
}

.faq-btn:hover .faq-icon,
.faq-btn:focus-visible .faq-icon,
.faq-btn[aria-expanded="true"] .faq-icon {
    background: #e10600;
    border-color: #e10600;
    color: #fff2f0;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.solutions-dropdown a {
    display: block;
    padding: 14px 16px;
    color: rgba(229, 226, 225, 0.74);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.18s, color 0.18s, padding-left 0.18s;
}

.solutions-dropdown a:hover,
.solutions-dropdown a:focus-visible,
.solutions-dropdown a[aria-current="page"] {
    color: #fff2f0;
    background: rgba(225, 6, 0, 0.16);
    padding-left: 20px;
    outline: none;
}

.mobile-solutions {
    width: min(326px, calc(100vw - 64px));
    text-align: center;
}

.mobile-solutions-toggle {
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: #e5e2e1;
    font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.mobile-solutions-toggle[aria-expanded="true"] {
    color: #e5e2e1;
}

.mobile-solutions.is-active .mobile-solutions-toggle {
    color: #e5e2e1;
}

.mobile-solutions-toggle svg {
    width: 22px;
    height: 22px;
    color: currentColor;
    transition: transform 0.2s;
}

.mobile-solutions-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.mobile-solutions-panel {
    display: none;
    padding-top: 18px;
}

.mobile-solutions-panel.is-open {
    display: grid;
    gap: 12px;
}

.mobile-solutions-panel a {
    display: block;
    padding: 13px 16px;
    border-left: 3px solid rgba(225, 6, 0, 0.7);
    background: rgba(229, 226, 225, 0.05);
    color: rgba(229, 226, 225, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-solutions-panel a[aria-current="page"] {
    color: #fff2f0;
    background: rgba(225, 6, 0, 0.18);
}

.icon-sm { font-size: 16px; line-height: 1; }

.hero-photo-bg {
    background-image: url("img/Imagem_seg_hero_16-9.webp");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: min(1120px, 72vw) auto;
    filter: grayscale(1) brightness(0.58);
}

.home-hero {
    height: clamp(560px, 40.5vw, 630px);
    min-height: 0;
    padding-top: 4.5rem;
}

.home-hero h1 {
    font-size: clamp(3.55rem, 5.25vw, 4.75rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 0.9rem;
}

.home-hero p {
    max-width: 32rem;
    margin-bottom: 1.35rem;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.45;
}

.home-hero .btn-lg {
    padding: 17px 34px;
    font-size: 1rem;
}

.site-hero {
    height: clamp(560px, 40.5vw, 630px);
    min-height: 0 !important;
    align-items: stretch !important;
    padding-top: 4.5rem !important;
    padding-bottom: 0 !important;
}

.site-hero > .relative {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 38rem;
    margin-left: max(0rem, calc((100vw - 1280px) / 2));
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.site-hero span.block,
.text-hero .inline-flex {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
}

.site-hero h1,
.text-hero h1 {
    font-size: clamp(3.15rem, 4.7vw, 4.5rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.04em;
    margin-bottom: 1rem !important;
}

.site-hero p,
.text-hero p {
    max-width: 32rem !important;
    margin-bottom: 1.35rem !important;
    font-size: clamp(1rem, 1.2vw, 1.12rem) !important;
    line-height: 1.45 !important;
}

.site-hero .btn-lg {
    padding: 17px 34px;
    font-size: 1rem;
}

.site-hero .service-hero-bg,
.site-hero .service-team-bg,
.site-hero .event-hero-bg,
.site-hero .about-hero-bg {
    background-position: right center;
    background-size: min(1120px, 72vw) auto;
}

.patrimonial-hero .service-hero-bg {
    background-position: right center;
    background-size: min(1120px, 72vw) auto;
}

.about-hero {
    height: clamp(560px, 40.5vw, 630px) !important;
    min-height: 0 !important;
}

.about-hero > .absolute:first-child {
    opacity: 0.52;
}

.about-hero .about-hero-bg {
    background-position: right 42%;
    background-size: min(1220px, 80vw) auto;
}

.about-hero h1 {
    font-size: clamp(3.55rem, 5.25vw, 4.75rem) !important;
}

.text-hero {
    height: clamp(380px, 31vw, 460px);
    min-height: 0;
    display: flex;
    align-items: center;
    padding-top: 4.5rem !important;
    padding-bottom: 0 !important;
}

.text-hero .container {
    max-width: 1280px !important;
}

.text-hero .container > * {
    max-width: 56rem;
}

.about-hero-bg {
    background-image: url("img/Imagem_equipe_nova.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1) brightness(0.72);
}

.service-hero-bg {
    background-image: url("img/Imagem_seg_hero_16-9.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1) brightness(0.58);
}

.service-team-bg {
    background-image: url("img/Imagem_equipe_nova.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1) brightness(0.62);
}

.event-hero-bg {
    background-image: url("galeria/festa_fantasia_16-9.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1) brightness(0.58);
}

@media (max-width: 640px) {
    .btn-lg,
    .btn-xl {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
        font-size: 1rem;
    }

}

@media (max-width: 767px) {
    .grid-cols-12 {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .grid-cols-12 > .col-span-12,
    .grid-cols-12 > .col-span-2 {
        grid-column: 1 / -1 !important;
    }

    .about-hero .about-hero-bg {
        background-position: center center;
        background-size: cover;
        filter: grayscale(1) brightness(0.58);
    }

    .home-hero {
        height: 590px;
        min-height: 0;
        padding-top: 4.25rem;
        background-image:
            linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.9) 48%, rgba(10, 10, 10, 0.72) 100%),
            linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, #0a0a0a 100%);
        background-position: center top, center bottom;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .home-hero .hero-photo-bg {
        background-position: center center;
        background-size: cover;
    }

    .home-hero h1 {
        font-size: clamp(1.65rem, 7.2vw, 2.05rem);
        line-height: 0.94;
        letter-spacing: -0.035em;
        margin-bottom: 1rem;
    }

    .home-hero p {
        max-width: 18.5rem;
        margin-bottom: 1.35rem;
        font-size: 0.98rem;
        line-height: 1.48;
    }

    .home-hero .hero-kicker {
        font-size: 10px;
        letter-spacing: 0.16em;
        margin-bottom: 1.35rem;
    }

    .home-hero .btn-lg,
    .site-hero .btn-lg {
        padding: 15px 18px;
        font-size: 0.9rem;
    }

    .site-hero {
        height: 590px;
        min-height: 0 !important;
        align-items: stretch !important;
        padding-top: 4.25rem !important;
        padding-bottom: 0 !important;
    }

    .site-hero > .relative {
        justify-content: center;
        max-width: min(20rem, calc(100vw - 48px));
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .site-hero h1,
    .text-hero h1 {
        font-size: clamp(1.65rem, 7.2vw, 2.05rem) !important;
        line-height: 0.94 !important;
        margin-bottom: 1rem !important;
    }

    .site-hero p,
    .text-hero p {
        max-width: 18.5rem !important;
        margin-bottom: 1.35rem !important;
        font-size: 0.98rem !important;
        line-height: 1.48 !important;
    }

    .site-hero span.block,
    .text-hero .inline-flex {
        margin-bottom: 1.35rem;
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .site-hero .service-hero-bg,
    .site-hero .service-team-bg,
    .site-hero .event-hero-bg,
    .site-hero .about-hero-bg {
        background-position: center center;
        background-size: cover;
    }

    .patrimonial-hero .service-hero-bg {
        background-position: center center;
        background-size: cover;
    }

    .about-hero {
        height: 590px !important;
        min-height: 0 !important;
    }

    .text-hero {
        height: 390px;
        min-height: 0;
        padding-top: 4.25rem !important;
        padding-bottom: 0 !important;
    }

    nav {
        padding-left: 24px !important;
        padding-right: 24px !important;
        gap: 16px;
    }

    nav > div.flex.items-center.gap-6 {
        display: none !important;
    }

    nav > a span {
        font-size: 1.25rem !important;
        line-height: 1.1 !important;
    }

    .mobile-menu-trigger {
        display: flex !important;
        position: fixed;
        right: 24px;
        top: 24px;
        transform: none;
        margin-left: auto;
        z-index: 9999;
    }

    .mobile-menu-icon {
        display: block !important;
        width: 28px;
        height: 28px;
        fill: none;
        stroke: #e5e2e1;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-menu-trigger span {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-menu-trigger {
        display: none !important;
    }
}

.site-icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.faq-btn .faq-icon {
    width: 34px;
    height: 34px;
    stroke-width: 2.4;
}

/* Navegação mobile compartilhada */
#mobile-menu {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0.25s;
}

#mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

#mobile-menu {
    overflow-y: auto;
    padding: 96px 32px 40px;
}

.site-footer {
    border-top: 1px solid rgba(229, 226, 225, 0.07);
    background: #0d0d0d;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.95fr) minmax(190px, 0.6fr);
    gap: 24px;
    align-items: start;
    padding: 30px clamp(28px, 4.5vw, 52px);
}

.footer-brandline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brandline img {
    width: 30px;
    height: 30px;
}

.footer-brandline span {
    font-size: 1rem;
    line-height: 1;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 10px;
}

.footer-contact a,
.footer-links a,
.footer-legal {
    color: rgba(229, 226, 225, 0.66);
    font-size: 0.88rem;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: #e10600;
    outline: none;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: rgba(229, 226, 225, 0.42);
    font-size: 0.78rem;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: rgba(229, 226, 225, 0.46);
    font-size: 0.78rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-credit svg {
    width: 13px;
    height: 13px;
    color: currentColor;
    opacity: 0.9;
}

.footer-credit:hover,
.footer-credit:focus-visible {
    color: #e10600;
    outline: none;
}

.footer-heading {
    margin-bottom: 10px;
    color: #e10600;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-solutions-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

@media (max-width: 767px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 24px;
    }

    .footer-brandline span {
        font-size: 0.95rem;
    }

    .footer-contact {
        display: grid;
        gap: 7px;
    }

    .footer-contact a,
    .footer-links a {
        font-size: 0.84rem;
    }

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

/* Animações compartilhadas */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Fundo CSS da seção CTA final ─────────────────────────────── */
.cta-bg {
    background:
        radial-gradient(ellipse 42% 32% at 50% 48%, rgba(225, 6, 0, 0.34) 0%, rgba(225, 6, 0, 0.14) 42%, transparent 72%),
        radial-gradient(ellipse 82% 62% at 50% 50%, rgba(225, 6, 0, 0.18) 0%, transparent 74%),
        repeating-linear-gradient(
            45deg,
            rgba(225, 6, 0, 0.085) 0px,
            rgba(225, 6, 0, 0.085) 1px,
            transparent 1px,
            transparent 54px
        ),
        #000;
}
