/* ========================================================= VARIÁVEIS GLOBAIS ========================================================= */
:root {
    --color-primary: #374ea2;
    --color-secondary: #00a4e0;
    --color-brand-dark: #241851;
    --color-body-text: #333;
    --color-bg-light: #f8f9fa;
    --color-muted: #6c757d;
    --radius: 8px;
    --transition-fast: 0.18s;
    --transition-med: 0.3s;
}

/* ========================================================= BASE / TIPOGRAFIA ========================================================= */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-body-text);
    background: #fff;
    font-weight: 400;
    line-height: 1.8;
    padding-top: 90px;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

h4, h5 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
}

p, span, li, a {
    font-family: 'Inter', sans-serif;
    color: var(--color-body-text);
}

/* links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* utility */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

/* ========================================================= NAVBAR ========================================================= */
.navbar {
    background: #fff;
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.navbar-brand img {
    width: 120px;
    display: block;
}
.navbar-nav .nav-link {
    margin: 0 .35rem;
    padding: .45rem .8rem;
    border-radius: 6px;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.navbar-nav .nav-link:hover {
    color: var(--color-secondary);
    background: rgba(0, 164, 224, .06);
}

/* Language flags */
.lang-flags {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.lang-flags img {
    width: 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform .18s;
}
.lang-flags img:hover { transform: scale(1.08); }
.lang-active { outline: 2px solid var(--color-secondary); }

/* ========================================================= BOTÕES ========================================================= */
.btn-send {
    background-color: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: transform .18s, background .18s;
}
.btn-send:hover {
    background-color: #007bb5;
    transform: translateY(-2px);
}

/* form inputs */
.form-control {
    border-radius: 8px;
    padding: .75rem 1rem;
    border: 1px solid #e6e6e6;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(55, 78, 162, 0.08);
    border-color: var(--color-primary);
}

/* ========================================================= CARDS GLOBAIS ========================================================= */
.card-expandable,
.item-card,
.solution-card {
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    transition: box-shadow var(--transition-med), transform var(--transition-med);
    background: #fff;
    border: 1px solid #eef0f3;
    display: flex;
    flex-direction: column;
}

.card-img-top {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
    transition: transform .3s ease;
}
.card-expandable:hover .card-img-top { transform: scale(1.03); }

.card-main {
    padding: .9rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #222;
}
.card-extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .35s ease;
    background: #fafafa;
}

/* global expand animation */
.card-expandable.expanded,
.item-card.expanded,
.solution-card.expanded {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
.card-expandable.expanded .card-extra,
.item-card.expanded .card-extra,
.solution-card.expanded .card-extra {
    opacity: 1;
    max-height: 420px;
}

/* ========================================================= FIXED CONTACT ========================================================= */
.fixed-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fixed-contact .contact-btn {
    display: flex;
    gap: 8px;
    border-radius: 20px;
    padding: 8px 12px;
    background: rgba(225, 248, 224, 0.03);
    transition: transform .18s, box-shadow .18s;
}
.fixed-contact .contact-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 8px 22px rgba(36, 24, 81, 0.08);
}

/* ========================================================= ANIMAÇÃO ========================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .9s ease forwards;
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================= RESPONSIVIDADE GLOBAL ========================================================= */
@media (max-width: 992px) {
    body { padding-top: 75px; }
    .lang-flags img { width: 26px; }
}
@media (max-width: 768px) {
    .fixed-contact { right: 12px; bottom: 12px; }
}
@media (max-width: 480px) {
    .lang-flags img { width: 22px; }
}
/* ========================================================= FIM DO ARQUIVO ========================================================= */