@charset "UTF-8";

/* ============================== */
/*        VARIÁVEIS GLOBAIS      */
/* ============================== */

:root {
    --fonte-principal: 'Merriweather Sans', sans-serif;

    --cor-primaria: #A67E33;
    --cor-secundaria: #a6855d25;
    --cor-fundo-principal: #F2F2F2;
    --cor-fundo-card: #FFFFFF;
    --cor-fundo-card-secundario: #000000d9;;
    --cor-texto: #0D0D0D;
    --cor-subtexto: #B6A281;
    --cor-hover: #A6855D;

    --cor-clara: #FFFFFF;
    --cor-clara-2: #F2F2F2;
}


/* ============================== */
/*          GLOBAL               */
/* ============================== */

body {
    background-color: var(--cor-fundo-principal);
    color: var(--cor-texto);
    font-family: var(--fonte-principal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather Sans', sans-serif;
}


html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100vw;
}

section {
    width: 100%;
}

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

.paragraph-effect {
    text-align: justify;
    text-indent: 2em;
    margin-bottom: 1rem;
}

.text-justify {
    text-align: justify;
}


/* ============================== */
/*          NAVBAR               */
/* ============================== */

.navbar-dark .navbar-nav .nav-link {
    color: var(--cor-primaria);
    margin-right: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--cor-clara);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--cor-clara-2);
}

/* Dropdown personalizado da navbar */
.navbar .dropdown-menu {
    background-color: #1a1a1a; 
    border-radius: 0.25rem;
    min-width: 180px;
    padding: 0.5rem 0;
}

/* Links dentro do dropdown */
.navbar .dropdown-menu .dropdown-item {
    color: var(--cor-clara-2);
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover e foco */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: rgba(212, 175, 55, 0.1); /* dourado suave */
    color: var(--cor-primaria);
}

/* Borda superior para separar do menu principal */
.navbar .dropdown-menu::before {
    content: '';
    display: block;
    height: 2px;
    margin: -0.5rem 0 0 0;
}

.sub-brand {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--cor-subtexto);
    text-transform: none;
    letter-spacing: 0;
}

.brand-text span {
    line-height: 1.1;
}

/* ============================== */
/*          BOTÕES               */
/* ============================== */

.btn-warning{
    color: var(--cor-clara-2);
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
    transition: all 0.3s ease;
}

.btn-warning:hover{
    background-color: var(--cor-hover);
    color: var(--cor-texto);
    border-color: var(--cor-primaria);
}

/* ============================== */
/*          HERO & IMG           */
/* ============================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-image: url("/static/img/hero_img.jpeg");
    background-size: cover;
    background-position: top center;
    overflow: hidden;
}

.differentials-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-image: url("/static/img/differentials.jpeg");
    background-size: cover;
    background-position: top center;
    overflow: hidden;
}

.hero-overlay,
.differentials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.9));
    z-index: 1;
}

.hero-section .container,
.differentials-section .container {
    position: relative;
    z-index: 2;
}

.hero-title,
.differentials-title,
.custom-generic-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-subtitle,
.differentials-subtitle,
.custom-generic-subtitle {
    color: var(--cor-subtexto);
}

@media (min-width: 768px) {
    .hero-title,
    .differentials-title {
        font-size: 3rem;
    }

    .hero-subtitle,
    .differentials-subtitle {
        font-size: 1.5rem;
    }
}

/* ================================ */
/*     CARDS FLUTUANTES            */
/* ============================== */

.section-overlap {
    position: relative;
    margin-top: -100px;
    z-index: 2;
}

@media (max-width: 768px) {
    .section-overlap {
        position: normal;
        margin-top: 0;
    }
}


/* ============================== */
/*    Links personalizados       */ 
/* ============================ */

.link-custom-color {
    color: var(--cor-primaria);
    text-decoration-color: var(--cor-primaria);
}

.link-custom-color:hover {
    color: var(--cor-hover);
    text-decoration-color: var(--cor-clara);
}


/* ============================== */
/*    Textos Personalizados      */ 
/* ============================ */

.text-custom-primary {
    color: var(--cor-texto);
    font-size: 2.5rem;
    font-weight: 700;
}

.text-custom-secondary {
    color: var(--cor-subtexto);
}

.text-custom-subtitle {
    font-size: 1.2rem;
    font-weight: 800;
}

.text-custom-secondary-bold{
    color: var(--cor-subtexto);
    font-size: 1rem;
    font-weight: 500;
}


/* ============================== */
/*          COLOR LINKS          */ 
/* ============================ */

.icon-color {
    color: var(--cor-primaria);
    transition: color 0.3s ease;
}

/* ============================== */
/*          COLOR CARD           */ 
/* ============================ */

.background-color-card {
    background-color: var(--cor-secundaria);
    transition: background-color 0.3s ease;
}


/* ============================== */
/*           Accordion           */ 
/* ============================ */

/* Accordion - botão transparente e texto branco */
.accordion-button {
    background-color: transparent;
    color: var(--cor-texto);
    font-size: 1.1rem;
    font-weight: 600;
}


/* Seta do accordion em amarelo */
.accordion-button::after {
    display: none;
}

/* Estado ativo (aberto) */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--cor-primaria);
    box-shadow: none;
}

/* Remove sombra de foco azul padrão */
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* animação accordion button */
.accordion-button[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.accordion-button i {
    transition: transform 0.3s ease;
}


/* ============================== */
/*  Botão flutuante do WhatsApp  */
/* ============================ */

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    background-color: rgba(37, 211, 102, 0.85);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    backdrop-filter: blur(2px);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    text-decoration: none;
}

/* Mensagem de texto */
.whatsapp-message {
    margin-right: 8px;
    font-size: 14px;
    color: #000;
    background-color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* Ícone do WhatsApp */
.whatsapp-icon {
    background-color: #25D366;
    color: white;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animação de "piscar" */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}



footer {
    background-color: var(--cor-fundo-card-secundario);
    color: var(--cor-clara);
    position: relative;
    z-index: 2;
}

/* Links com cor personalizada igual à navbar */
footer a.link-custom-color {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a.link-custom-color:hover {
    color: #ffc107; 
}

/* Ícones de redes sociais */
footer a.text-light:hover {
    color: var(--cor-primaria);
}

/* Títulos das colunas */
footer h5 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Estilo da logo e info */
footer .brand-text span {
    font-size: 0.9rem;
    color: #eee;
}

/* Garantir contraste para textos secundários */
footer .text-muted {
    color: #ccc !important;
}

/* Mapa responsivo fixando estilo clean */
footer .ratio {
    max-width: 100%;
    max-height: 250px;
    min-height: 180px;
    margin: 0 auto;
    overflow: hidden;
}
footer iframe {
    width: 100%;
    height: 100%;
    min-height: 180px;
    max-height: 250px;
    border: 0;
    filter: grayscale(20%);
    display: block;
}

@media (min-width: 768px) {
    footer .ratio,
    footer iframe {
        max-height: 350px;
    }
}
