/* ====================================
   VARIABLES AND BASE STYLES
   ==================================== */
:root {
    --primary-color: #222222;
    --secondary-color: #484848;
    --accent-color: #ff5a5f;
    --success-color: #00a699;
    --text-dark: #222222;
    --text-light: #717171;
    --bg-light: #f7f7f7;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    --accent-hover: #e5484d; /* hover dos botões accent */
    --rating-color: #ffa500; /* cor das estrelas de rating */
    --gradient-end: #ff7a7f; /* fim do gradiente dos ícones */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-dark: #000000;
        --border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====================================
   ESTILOS GLOBAIS PARA LINKS
   ==================================== */

a {
    color: var(--accent-color); /* Define a cor padrão dos links para a cor de destaque do seu tema */
    text-decoration: none;      /* Remove o sublinhado por padrão */
    transition: all 0.3s ease;  /* Adiciona uma transição suave para o efeito hover */
}

a:hover,
a:focus {
    color: var(--primary-color);  /* Escurece o link ao passar o mouse */
    text-decoration: underline;   /* Adiciona o sublinhado no hover para melhor usabilidade */
}