/* =========================================================
   BRAGA MOTOS — UNAÍ
   Paleta: preto + azul (#174d91) + amarelo (#fedb21)
   Cores extraídas da logo (fundo preto)
   Fontes: DM Sans / Archivo Black (display) + IBM Plex Mono (texto)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap');

/* ---------- 1. RESET MÍNIMO ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

iframe {
    border: 0;
    display: block;
}

video {
    display: block;
    max-width: 100%;
}

[data-lucide] {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

/* ---------- 2. TOKENS DE DESIGN ---------- */
:root {
    /* Cores — base clara */
    --color-bg: #FFFFFF;
    --color-bg-soft: #F2F4F8;     /* off-white com leve frio (puxa o azul) */
    --color-bg-alt: #F5F7FB;      /* alternativo para zebrar seções */
    --color-card: #FFFFFF;

    /* Azul da logo (cor de MARCA principal) */
    --color-gold: #174d91;        /* azul Braga, da logo */
    --color-gold-light: #2A6BC0;
    --color-gold-soft: rgba(23, 77, 145, 0.07);
    --color-gold-border: rgba(23, 77, 145, 0.25);

    /* Amarelo da logo (cor de ACENTO / destaque) */
    --color-accent: #fedb21;      /* amarelo Braga, da logo */
    --color-accent-soft: rgba(254, 219, 33, 0.12);

    /* Preto e neutros */
    --color-ink: #101216;         /* preto/grafite para títulos */
    --color-black: #000000;       /* preto puro = fundo da logo */
    --color-text: #232830;        /* texto principal */
    --color-muted: #686E76;       /* texto secundário */
    --color-muted-light: #989DA4;
    --color-border: rgba(16, 18, 22, 0.08);
    --color-border-strong: rgba(16, 18, 22, 0.15);

    /* Tipografia */
    --font-display: "Archivo Black", "Arial Black", sans-serif;  /* títulos de impacto */
    --font-heading: "DM Sans", sans-serif;                       /* títulos secundários */
    --font-sans: "Inter", "Roboto", sans-serif;      /* texto corrido */

    /* Layout */
    --max-content: 72rem;
    --max-content-lg: 64rem;
    --max-content-md: 56rem;

    /* Sombras */
    --shadow-button: 0 10px 25px -5px rgba(23, 77, 145, 0.35);
    --shadow-card: 0 25px 50px -12px rgba(16, 18, 22, 0.18);
    --shadow-soft: 0 4px 12px rgba(16, 18, 22, 0.06);
}

/* ---------- 3. BASE ---------- */
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--color-gold);
    color: #fff;
}

/* ---------- 4. UTILITÁRIOS ---------- */
.container {
    width: 100%;
    max-width: var(--max-content);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.container--lg { max-width: var(--max-content-lg); }

.text-accent { color: var(--color-gold); }
.text-italic { font-style: italic; }

.heading-display {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 3vw + 1rem, 2.5rem);
    font-weight: 800;
    color: var(--color-ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.divider {
    width: 4rem;
    height: 3px;
    background: var(--color-accent);   /* detalhe amarelo da logo */
    margin: 1.5rem auto 0;
}

/* Badge do HERO — amarelo da logo sobre fundo escuro */
.badge_hero {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    background: var(--color-accent-soft);
}

@media (min-width: 768px) {
    .badge_hero {
        margin-top: -40px;
    }
}

/* Badge genérico (seções claras) — azul da marca */
.badge {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    background: var(--color-gold-soft);
}

.section {
    padding: 4rem 0.1rem 4rem 0.1rem;
}

.section--features { background: var(--color-bg-soft); }
.section--social   { background: var(--color-bg); }
.section--location {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding-inline: 0;
}

.section__heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    color: var(--color-muted);
    font-size: 0.88rem;
    margin-top: 1rem;
    font-weight: 400;
    max-width: 36rem;
    margin-inline: auto;
    line-height: 1.65;
}

/* ---------- 5. BOTÕES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.25s ease;
    border-radius: 0;
}

.btn [data-lucide] {
    width: 1rem;
    height: 1rem;
}

.btn--primary {
    background: var(--color-gold);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.btn--primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background: #fff;
    color: var(--color-ink);
    border-color: #fff;
}

.btn--block {
    width: 100%;
    padding-block: 1rem;
    font-weight: 700;
}

/* ---------- 6. HEADER ---------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.25rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        transparent 100%
    );
}

.site-header__inner {
    max-width: var(--max-content);
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header__logo {
    height: 200px;
    width: auto;
    object-fit: contain;
    transform: translateY(-30px);   /* ← negativo = cima, positivo = baixo */
}

@media (min-width: 768px) {
    .site-header__logo {
        margin-left: 80px;
        margin-top: -50px;
        height: 250px;
        transform: translateX(-600px);
    }
}

/* ---------- 7. HERO ---------- */
.hero {
    position: relative;
    height: 94vh;
    display: flex;
    justify-content: center;
    padding: 8rem 1.5rem 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero::before {
    /* Textura sutil */
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: 5;
    pointer-events: none;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
    filter: brightness(0.35);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 30;
    max-width: 56rem;
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero__title {
    font-family: var(--font-heading);
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 1.25rem 0;
}

.hero__title em {
    color: var(--color-accent);   /* amarelo da logo no destaque */
    font-family: var(--font-heading);
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 0.7vw + 0.75rem, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 44rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 28rem;
    margin-top: -5px;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.85;
    pointer-events: none;
    animation: bounce 2s infinite;
    color: #fff;
}

.hero__scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero__scroll [data-lucide] {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);   /* setinha amarela */
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-25%); }
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        max-width: 42rem;
        margin-top: 25px;
    }
    .hero__actions .btn { flex: 1; }
}

@media (min-width: 768px) {
    .hero {
        height: 100vh;
        max-height: 900px;
    }
}

@media (min-width: 1024px) {
    .hero { padding-top: 6rem; }
    .hero__content { max-width: 72rem; margin-top: 3rem; }
}

/* ---------- 8. SERVIÇOS (features) ---------- */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: var(--max-content);
    margin-inline: auto;
}

.feature {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold);
    padding: 1.8rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-soft);
}

.feature:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-card);
    border-top-color: var(--color-accent);   /* topo vira amarelo no hover */
}

.feature__icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-gold-soft);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.25s ease, color 0.25s ease;
    border-radius: 2px;
}

.feature__icon [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
}

.feature:hover .feature__icon {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}

.feature__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.feature__desc {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; 
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 0.88rem;
}

@media (min-width: 768px) {
    .feature { width: calc(80% - 1.5rem); }
}

@media (min-width: 1024px) {
    .feature { width: calc(33.3% - 1.5rem); }
}

/* ---------- 9. REDES SOCIAIS ---------- */
.section--social { padding-block: 5rem; }

.social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social__btn {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 256px;
    height: 56px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.social__btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.social__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.social__icon-img_insta {
    position: relative;
    z-index: 10;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social__icon-img_face {
    position: relative;
    z-index: 10;
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: -8px;
}

.social__btn span {
    position: relative;
    z-index: 10;
}

.social__btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.25);
}

.social__btn--facebook {
    background: #1877F2;
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25);
}

@media (min-width: 640px) {
    .social {
        flex-direction: row;
        gap: 1.25rem;
    }
}

/* ---------- 10. GALERIA DE VÍDEOS (substitui "Sobre Nós") ---------- */
.galeria {
    background-color: var(--color-black);
    padding-block: 5rem;
    padding-inline: 1.5rem;
}

.galeria__heading {
    text-align: center;
    margin-bottom: 3rem;
}

.galeria__titulo {
    font-family: var(--font-heading);
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: clamp(1.625rem, 3vw + 1rem, 2.5rem);
    line-height: 1.2;
    color: #FFFFFF;
}

.galeria__titulo em {
    color: var(--color-accent);   /* destaque amarelo da logo */
    font-style: italic;
}

.galeria__subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-top: 1rem;
    max-width: 36rem;
    margin-inline: auto;
    line-height: 1.65;
}

.galeria__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: var(--max-content);
    margin-inline: auto;
}

.galeria__item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: #0a0a0a;
    aspect-ratio: 9 / 16;            /* formato vertical (reels/stories) */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria__item:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 18px 40px -12px rgba(23, 77, 145, 0.55);
    border-color: var(--color-accent);
}

.galeria__item video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 640px) {
    .galeria__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .galeria__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 11. LOCALIZAÇÃO ---------- */
.section--location { padding-block: rem; }

.location {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    background: var(--color-card);
}

.location__map {
    width: 100%;
    min-height: 320px;
    position: relative;
}

.location__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.location__info {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location__list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.location__row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.location__icon {
    padding: 0.75rem;
    background: var(--color-gold-soft);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold);
    flex-shrink: 0;
    border-radius: 2px;
}

.location__icon [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
}

.location__row h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-ink);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.location__row p {
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .section--location { padding-block: 6rem; }
    .location { flex-direction: row; }
    .location__map,
    .location__info { width: 50%; }
    .location__map { min-height: 460px; }
    .location__info { padding: 3rem; }
}

@media (min-width: 1024px) {
    .location__info { padding: 3.5rem; }
}

/* ---------- 12. FOOTER ---------- */
.site-footer {
    padding: 2rem;
    text-align: center;
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ---------- 13. WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 9999px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
    color: #fff;
}

.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-float img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.whatsapp-float__fallback {
    display: none;
    width: 28px;
    height: 28px;
}

.whatsapp-float--fallback img { display: none; }
.whatsapp-float--fallback .whatsapp-float__fallback { display: block; }