/* ============================================================
   AQUA MART — STYLE.CSS BASE
   ============================================================ */
:root {
    --navy:      #0a1628;
    --navy-mid:  #0d2040;
    --navy-dark: #081020;
    --blue:      #1a7abf;
    --blue2:     #2196f3;
    --white:     #ffffff;
    --gray:      #8a9bb5;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26,122,191,0.18);
    height: 75px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.5); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon-img {
    height: 38px;
    width: auto;
    display: block;
}
.logo-texts {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 1px;
}
.logo-sub {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Menu */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-menu a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a.active { color: #fff; }
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 18px; height: 2px;
    background: var(--blue2);
    border-radius: 2px;
}
.nav-sep {
    width: 1px; height: 24px;
    background: rgba(255,255,255,0.15);
    margin: 0 0.5rem;
}
.nav-login-btn {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.75rem !important;
}
.nav-login-btn:hover { color: #fff !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0d1f36;
    border-top: 1px solid rgba(26,122,191,0.15);
    padding: 3.5rem 2rem 2rem;
}
.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
    gap: 2.5rem;
    position: relative;
}

.fc-brand {}
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.footer-logo-icon { height: 34px; width: auto; }
.footer-logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 1px;
}
.footer-addr {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.8;
}

.fc-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.1rem;
}
.fc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.fc-list li, .fc-list a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.fc-list a:hover { color: rgba(255,255,255,0.8); }
.fc-icon { font-size: 0.85rem; }

.footer-socials { display: flex; gap: 0.65rem; margin-top: 0.2rem; }
.fsoc {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.2s;
}
.fsoc:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-sitemap { display: flex; gap: 2rem; }

.footer-star {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    font-size: 3.5rem;
    color: rgba(26,122,191,0.25);
    line-height: 1;
    pointer-events: none;
}

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.page-hero {
    min-height: 50vh;
    padding: 130px 2rem 60px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   FORMS (usados em cadastro e contato)
   ============================================================ */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; color: #1a2840; }
.form-control {
    width: 100%;
    padding: 0.82rem 1.05rem;
    border: 1.5px solid #d0dae8;
    border-radius: 10px;
    font-size: 0.93rem;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1a2840;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,122,191,0.12); }
.form-control::placeholder { color: #b0bad0; }
select.form-control { cursor: pointer; }

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.78rem 1rem;
    border: 1.5px solid #d0dae8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: #b0bad0;
    font-size: 0.88rem;
    transition: border-color 0.2s;
}
.form-file-label:hover { border-color: var(--blue); }
.form-file-label input[type="file"] { display: none; }

.cadastro-card {
    background: white;
    border-radius: 18px;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 70px rgba(0,0,0,0.35);
}
.cadastro-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #0a1628;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-input {
    background: rgba(255,255,255,0.97) !important;
    border: none !important;
}

/* Alerts */
.alert { padding: 0.85rem 1.1rem; border-radius: 8px; margin-bottom: 1.1rem; font-size: 0.87rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Buttons genéricos */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.92rem 2rem;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 5px 20px rgba(26,122,191,0.4);
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-2px); }


.footer-dev {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.2rem 0 .2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    line-height: 1.5;
}

.footer-dev-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-dev-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    margin-right: 4px;
    white-space: nowrap;
    transition: color .3s;
}

.footer-dev-link picture { display: block; line-height: 0; }

.footer-dev-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: none;
    transition: filter .3s, transform .3s;
}

.footer-dev-link:hover .footer-dev-label { color: rgba(255,255,255,0.8); }
.footer-dev-link:hover .footer-dev-logo { filter: drop-shadow(0 0 8px rgba(255,59,59,.45)); transform: translateY(-1px); }
.footer-dev-link:focus-visible { outline: 2px solid rgba(255,255,255,.5); outline-offset: 4px; border-radius: 4px; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: fixed;
        top: 75px; left: 0; right: 0;
        background: rgba(10,22,40,0.99);
        flex-direction: column;
        padding: 1.25rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(26,122,191,0.2);
        z-index: 999;
    }
    .nav-menu.open { display: flex; }
    .nav-sep { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-sitemap { gap: 1.5rem; }
}
