/*
Theme Name: Exata Crédito
Theme URI: https://exatacredito.com.br/exata-wp/
Author: Exata Crédito
Author URI: https://exatacredito.com.br/
Description: Tema WordPress personalizado da Exata Crédito para serviços de análise e gestão de risco de crédito.
Version: 1.0.0
Text Domain: exata-theme
*/

/* =========================================================
RESET / BASE
========================================================= */

html {
scroll-behavior: smooth;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
min-height: 100%;
}

body {
background: #f9fafb;
color: #1f2937;
font-family: 'Inter', Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

img {
display: block;
max-width: 100%;
height: auto;
}

a {
color: inherit;
text-decoration: none;
}

button,
input,
textarea,
select {
font: inherit;
}

button {
border: 0;
}

ul,
ol {
margin: 0;
padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
}

/* =========================================================
BRAND
========================================================= */

:root {
--brand-blue: #0B2545;
--brand-accent: #134074;
--brand-light: #8DA9C4;
--brand-gold: #D4AF37;
--brand-gold-hover: #B89628;


--text-dark: #1f2937;
--text-muted: #6b7280;
--border-light: #e5e7eb;
--white: #ffffff;
--light-bg: #f9fafb;

--container: 1280px;


}

/* =========================================================
WORDPRESS
========================================================= */

.wp-site-blocks {
padding: 0;
}

.wp-caption {
max-width: 100%;
}

.aligncenter {
display: block;
margin-right: auto;
margin-left: auto;
}

.alignleft {
float: left;
margin-right: 1.5rem;
}

.alignright {
float: right;
margin-left: 1.5rem;
}

/* =========================================================
HEADER
========================================================= */

.site-header {
position: sticky;
top: 0;
z-index: 1000;
width: 100%;
background: var(--brand-blue);
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-header > div {
width: 100%;
}

/* =========================================================
MAIN CONTAINER
========================================================= */

#main-content {
display: block;
width: 100%;
}

.max-w-7xl {
width: 100%;
max-width: var(--container);
margin-right: auto;
margin-left: auto;
}

.mx-auto {
margin-right: auto;
margin-left: auto;
}

/* =========================================================
HEADER HEIGHT / SPACING
========================================================= */

.h-20 {
height: 80px;
}

.px-4 {
padding-right: 1rem;
padding-left: 1rem;
}

.sm:px-6 {
padding-right: 1.5rem;
padding-left: 1.5rem;
}

.lg:px-8 {
padding-right: 2rem;
padding-left: 2rem;
}

/* =========================================================
FLEX
========================================================= */

.flex {
display: flex;
}

.inline-flex {
display: inline-flex;
}

.flex-col {
flex-direction: column;
}

.flex-row {
flex-direction: row;
}

.items-center {
align-items: center;
}

.items-start {
align-items: flex-start;
}

.justify-between {
justify-content: space-between;
}

.justify-center {
justify-content: center;
}

.gap-2 {
gap: 0.5rem;
}

.gap-3 {
gap: 0.75rem;
}

.gap-4 {
gap: 1rem;
}

.gap-6 {
gap: 1.5rem;
}

.gap-8 {
gap: 2rem;
}

/* =========================================================
GRID
========================================================= */

.grid {
display: grid;
}

.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-8 {
gap: 2rem;
}

/* =========================================================
DISPLAY
========================================================= */

.hidden {
display: none;
}

.block {
display: block;
}

.inline-block {
display: inline-block;
}

/* =========================================================
POSITION
========================================================= */

.relative {
position: relative;
}

.absolute {
position: absolute;
}

.sticky {
position: sticky;
}

.top-0 {
top: 0;
}

.z-50 {
z-index: 50;
}

/* =========================================================
WIDTH / HEIGHT
========================================================= */

.w-full {
width: 100%;
}

.w-auto {
width: auto;
}

.h-12 {
height: 3rem;
}

.min-h-screen {
min-height: 100vh;
}

/* =========================================================
BACKGROUNDS
========================================================= */

.bg-brand-blue {
background-color: var(--brand-blue);
}

.bg-brand-accent {
background-color: var(--brand-accent);
}

.bg-brand-gold {
background-color: var(--brand-gold);
}

.bg-gray-50 {
background-color: #f9fafb;
}

.bg-white {
background-color: #ffffff;
}

.bg-gray-100 {
background-color: #f3f4f6;
}

/* =========================================================
TEXT COLORS
========================================================= */

.text-white {
color: #ffffff;
}

.text-gray-200 {
color: #e5e7eb;
}

.text-gray-300 {
color: #d1d5db;
}

.text-gray-400 {
color: #9ca3af;
}

.text-gray-500 {
color: #6b7280;
}

.text-gray-600 {
color: #4b5563;
}

.text-gray-700 {
color: #374151;
}

.text-gray-800 {
color: #1f2937;
}

.text-brand-blue {
color: var(--brand-blue);
}

.text-brand-gold {
color: var(--brand-gold);
}

/* =========================================================
TYPOGRAPHY
========================================================= */

.text-xs {
font-size: 0.75rem;
line-height: 1rem;
}

.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}

.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}

.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}

.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}

.text-4xl {
font-size: 2.25rem;
line-height: 2.5rem;
}

.text-5xl {
font-size: 3rem;
line-height: 1;

}

.font-medium {
font-weight: 500;
}

.font-semibold {
font-weight: 600;
}

.font-bold {
font-weight: 700;
}

.leading-relaxed {
line-height: 1.625;
}

.tracking-wider {
letter-spacing: 0.05em;
}

.tracking-widest {
letter-spacing: 0.1em;
}

.uppercase {
text-transform: uppercase;
}

.text-center {
text-align: center;
}

/* =========================================================
SPACING
========================================================= */

.m-0 {
margin: 0;
}

.mt-auto {
margin-top: auto;
}

.mt-2 {
margin-top: 0.5rem;
}

.mt-4 {
margin-top: 1rem;
}

.mt-6 {
margin-top: 1.5rem;
}

.mt-8 {
margin-top: 2rem;
}

.mt-10 {
margin-top: 2.5rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}

.mb-3 {
margin-bottom: 0.75rem;
}

.mb-4 {
margin-bottom: 1rem;
}

.mb-6 {
margin-bottom: 1.5rem;
}

.mb-8 {
margin-bottom: 2rem;
}

.mb-10 {
margin-bottom: 2.5rem;
}

.mb-12 {
margin-bottom: 3rem;
}

.p-4 {
padding: 1rem;
}

.p-6 {
padding: 1.5rem;
}

.p-8 {
padding: 2rem;
}

.px-4 {
padding-right: 1rem;
padding-left: 1rem;
}

.px-5 {
padding-right: 1.25rem;
padding-left: 1.25rem;
}

.px-6 {
padding-right: 1.5rem;
padding-left: 1.5rem;
}

.px-8 {
padding-right: 2rem;
padding-left: 2rem;
}

.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}

.py-8 {
padding-top: 2rem;
padding-bottom: 2rem;
}

.py-12 {
padding-top: 3rem;
padding-bottom: 3rem;
}

.py-16 {
padding-top: 4rem;
padding-bottom: 4rem;
}

.py-20 {
padding-top: 5rem;
padding-bottom: 5rem;
}

/* =========================================================
BORDER
========================================================= */

.border {
border-width: 1px;
border-style: solid;
}

.border-t {
border-top-width: 1px;
border-top-style: solid;
}

.border-b {
border-bottom-width: 1px;
border-bottom-style: solid;
}

.border-blue-900 {
border-color: #1e3a5f;
}

.border-gray-200 {
border-color: #e5e7eb;
}

.border-brand-gold {
border-color: var(--brand-gold);
}

/* =========================================================
RADIUS
========================================================= */

.rounded {
border-radius: 0.25rem;
}

.rounded-lg {
border-radius: 0.5rem;
}

.rounded-xl {
border-radius: 0.75rem;
}

.rounded-2xl {
border-radius: 1rem;
}

.rounded-full {
border-radius: 9999px;
}

/* =========================================================
SHADOW
========================================================= */

.shadow {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-md {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.shadow-lg {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.shadow-xl {
box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================================
FORM ELEMENTS
========================================================= */

input,
textarea,
select {
width: 100%;
border: 1px solid #d1d5db;
background: #ffffff;
color: #1f2937;
border-radius: 0.5rem;
padding: 0.75rem 1rem;
}

textarea {
min-height: 140px;
resize: vertical;
}

input::placeholder,
textarea::placeholder {
color: #9ca3af;
}

input:focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--brand-blue);
box-shadow: 0 0 0 2px rgba(11, 37, 69, 0.12);
}

/* =========================================================
BUTTONS
========================================================= */

button,
a {
transition:
color 0.2s ease,
background-color 0.2s ease,
border-color 0.2s ease,
box-shadow 0.2s ease,
transform 0.2s ease;
}

button {
cursor: pointer;
}

.bg-brand-gold:hover,
.hover:bg-brand-goldhover:hover {
background-color: var(--brand-gold-hover);
}

.hover:text-brand-gold:hover {
color: var(--brand-gold);
}

/* =========================================================
HEADER LOGO
========================================================= */

.site-header img {
object-fit: contain;
}

/* =========================================================
MOBILE MENU
========================================================= */

#mobile-menu {
width: 100%;
background-color: var(--brand-blue);
border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#mobile-menu-btn {
cursor: pointer;
background: transparent;
color: #ffffff;
}

#mobile-menu.hidden {
display: none;
}

/* =========================================================
HERO
========================================================= */

section {
width: 100%;
}

.hero-section {
position: relative;
overflow: hidden;
}

/* =========================================================
CARDS
========================================================= */

.group {
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}

.group:hover {
transform: translateY(-4px);
}

/* =========================================================
FOOTER
========================================================= */

footer {
width: 100%;
background-color: var(--brand-blue);
color: #d1d5db;
}

footer a:hover {
color: var(--brand-gold);
}

/* =========================================================
ACCESSIBILITY
========================================================= */

:focus-visible {
outline: 3px solid rgba(212, 175, 55, 0.75);
outline-offset: 3px;
}

/* =========================================================
SCROLL TARGETS
========================================================= */

#servicos,
#sobre,
#diferenciais,
#contacto {
scroll-margin-top: 90px;
}

/* =========================================================
RESPONSIVE - TABLET
========================================================= */

@media (min-width: 768px) {


.md\:flex {
    display: flex;
}

.md\:hidden {
    display: none;
}

.md\:block {
    display: block;
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.md\:col-span-2 {
    grid-column: span 2 / span 2;
}

.md\:flex-row {
    flex-direction: row;
}

.md\:items-center {
    align-items: center;
}

.md\:justify-between {
    justify-content: space-between;
}

.md\:text-left {
    text-align: left;
}

.md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}


}

/* =========================================================
RESPONSIVE - LARGE DESKTOP
========================================================= */

@media (min-width: 1024px) {


.lg\:px-8 {
    padding-right: 2rem;
    padding-left: 2rem;
}

.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg\:gap-8 {
    gap: 2rem;
}

.lg\:gap-12 {
    gap: 3rem;
}


}

/* =========================================================
RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {


html {
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

.max-w-7xl {
    width: 100%;
}

.h-20 {
    height: 72px;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 2.5rem;
    line-height: 1.1;
}

.py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-16 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.px-4 {
    padding-right: 1rem;
    padding-left: 1rem;
}

#contacto,
#servicos,
#sobre,
#diferenciais {
    scroll-margin-top: 80px;
}


}

/* =========================================================
REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {


html {
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

}
