@import url('https://fonts.googleapis.com/css2?family=Economica:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/*
 * style.css
 * MMB Representações Comerciais
 * Versão: 2.0
 * Descrição: Folha de estilos aprimorada para identidade visual corporativa,
 * focada em clareza, profissionalismo e conversão.
*/

/* ==========================================================================
   00. CONFIGURAÇÃO GLOBAL (Setup)
   ========================================================================== */
:root {
    /* Paleta de Cores Corporativa */
    --color-primary-dark: #1a5276; /* Azul corporativo escuro (títulos, ênfase) */
    --color-primary: #2874a6;      /* Azul principal (links, botões) */
    --color-primary-light: #2e86c1;/* Azul claro (detalhes, bordas) */
    
    /* Cores de Texto */
    --color-text-base: #333;           /* Corpo de texto principal */
    --color-text-heading: #2c3e50;    /* Títulos e subtítulos */
    --color-text-muted: #7f8c8d;       /* Texto secundário (metadados, legendas) */

    /* Cores de Fundo e Suporte */
    --color-background-body: #fdfdfd;  /* Fundo principal levemente off-white */
    --color-background-accent: #eaf2f8;/* Fundo de destaque (caixas de info) */
    --color-border: #d6dbdf;          /* Cor padrão para bordas */

    /* Cores de Feedback */
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #f1c40f;

    /* Tipografia */
    --font-family-main: 'Economica', 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 18px; /* 1rem */

    /* Layout e Espaçamento */
    --container-width: 1200px;
    --spacing-unit: 1rem; /* Unidade base para margens e paddings (16px) */

    /* Estilos de Componentes */
    --border-radius: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
}

/* ==========================================================================
   01. RESET, BASE E TIPOGRAFIA
   ========================================================================== */

/* Reset Moderno */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);

}

body {
    font-family: var(--font-family-main);
    line-height: 1.7;
    color: var(--color-text-base);
    background-color: var(--color-background-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografia Hierárquica */
h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    padding-bottom: var(--spacing-unit);
    border-bottom: 3px solid var(--color-primary-light);
}

h2.section-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: calc(var(--spacing-unit) * 3);
    padding-left: var(--spacing-unit);
    border-left: 4px solid var(--color-primary-light);
    transition: color var(--transition-speed) ease;
}

h2.section-title:hover {
    color: var(--color-primary-dark);
}

h3 {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    text-align: center;
}

p {
    margin-bottom: var(--spacing-unit);
    text-align: justify;
    font-size: 1.1rem;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: var(--spacing-unit);
    padding-left: calc(var(--spacing-unit) / 2);
}

li {
    margin-bottom: calc(var(--spacing-unit) / 2);
    padding-left: calc(var(--spacing-unit) / 2);
    transition: all var(--transition-speed) ease-in-out;
}

li:hover {
    background-color: var(--color-background-accent);
    transform: translateX(5px);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

a:hover, a:focus {
    text-decoration: underline;
    color: var(--color-primary-dark);
}

a:focus-visible {
    outline: 2px solid var(--color-primary-dark);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

strong, b {
    color: var(--color-text-heading);
    font-weight: 600;
}

/* ==========================================================================
   02. LAYOUT PRINCIPAL (Container, Header, Footer)
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

main > section {
    padding: calc(var(--spacing-unit) * 2) 0;
    border-bottom: 1px solid var(--color-border);
}

main > section:last-of-type {
    border-bottom: none;
}

.main-footer {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2) 0;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-background-accent);
}

.footer-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: var(--spacing-unit);
}

.contact-info p {
    margin-bottom: var(--spacing-unit);
    text-align: center;
}

.business-id, .copyright {
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* ==========================================================================
   03. COMPONENTES (Botões, Cards, Alertas)
   ========================================================================== */

/* Botões - Essencial para chamadas de ação (CTA) */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Cards - Para exibir serviços, produtos ou marcas representadas */
.card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: calc(var(--spacing-unit) * 1.5);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Caixa de Destaque */
.highlight-box {
    text-align: center;
    margin: calc(var(--spacing-unit) * 2.5) 0;
    padding: calc(var(--spacing-unit) * 1.5);
    background-color: var(--color-background-accent);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--border-radius);
}

/* Grid de Logos - Ideal para exibir as marcas que sua empresa representa */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    align-items: center;
    margin: calc(var(--spacing-unit) * 2) 0;
}

.logo-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Ícone Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-speed) ease-in-out, background-color var(--transition-speed) ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* ==========================================================================
   04. CLASSES UTILITÁRIAS (Helpers)
   ========================================================================== */

/* Alertas */
.alert {
    padding: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
    border-left-width: 4px;
    border-left-style: solid;
    border-radius: var(--border-radius);
}
.alert-warning {
    background-color: #fef9e7;
    border-color: var(--color-warning);
}
.alert-danger {
    background-color: #fdeded;
    border-color: var(--color-danger);
    color: var(--color-danger);
}

/* Alinhamento de Texto */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ==========================================================================
   05. MEDIA QUERIES (Responsividade)
   ========================================================================== */
@media (max-width: 768px) {
    html { font-size: 15px; }

    .container { padding: 0 var(--spacing-unit); }

    h1 { font-size: 2rem; }
    h2.section-title { font-size: 1.75rem; }
    p { font-size: 1rem; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    
    body {
        line-height: 1.6;
    }
    
    h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    h2.section-title { font-size: 1.5rem; }
}
/* ==========================================================================
   06. FONTES PERSONALIZADAS
   ========================================================================== */
.economica-regular {
  font-family: "Economica", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.economica-bold {
  font-family: "Economica", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.economica-regular-italic {
  font-family: "Economica", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.economica-bold-italic {
  font-family: "Economica", sans-serif;
  font-weight: 900;
  font-style: italic;
}