:root {
    --navy: #10263f;
    --navy-2: #173a63;
    --blue: #2e9bff;
    --silver: #d5d8dc;
    --white: #ffffff;
    --ink: #142033;
    --muted: #667085;
    --surface: #f4f7fa;
    --border: #dfe5ec;
    --shadow: 0 24px 70px rgba(16, 38, 63, .14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    max-width: 760px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223,229,236,.8);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    flex-direction: column;
    margin-right: auto;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--navy);
}

.brand-tagline {
    font-size: .67rem;
    letter-spacing: .08em;
    color: var(--muted);
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 26px;
    font-size: .95rem;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--blue);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(46,155,255,.24);
}

.button:hover {
    transform: translateY(-1px);
}

.button-small {
    min-height: 42px;
    padding-inline: 18px;
    font-size: .9rem;
}

.button-secondary {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
    box-shadow: none;
}

.hero {
    padding: 96px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(46,155,255,.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--navy);
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}

h2 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

h3 {
    color: var(--navy);
    font-size: 1.25rem;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card {
    min-height: 520px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--navy), #071729);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.window-frame {
    position: relative;
    width: 58%;
    aspect-ratio: 3 / 4;
    padding: 20px;
    border: 15px solid var(--silver);
    background: #0d1b2b;
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

.window-glass {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(255,255,255,.38), transparent 40%),
        linear-gradient(180deg, #69c7ff, #173a63);
}

.window-divider {
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 12px;
    transform: translateX(-50%);
    background: var(--silver);
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: var(--surface);
}

.section-dark {
    background: var(--navy);
    color: rgba(255,255,255,.78);
}

.section-dark h2 {
    color: var(--white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.card {
    min-height: 210px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16,38,63,.06);
}

.card p {
    color: var(--muted);
}

.site-footer {
    padding: 28px 0;
    background: #081728;
    color: rgba(255,255,255,.62);
    font-size: .9rem;
}

@media (max-width: 900px) {
    .main-nav,
    .header-inner > .button-small {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-card {
        min-height: 420px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-tagline {
        display: none;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-card {
        min-height: 340px;
    }

    .section {
        padding: 72px 0;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }
/* Imagem principal carregada pela área privada */
.hero-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* Formulário público de contacto */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.contact-copy a {
    color: var(--white);
}

.contact-form-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: var(--white);
    color: var(--ink);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    outline: none;
}

.contact-form input {
    min-height: 52px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(46,155,255,.12);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.form-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.form-message.success {
    background: #ecfff4;
    color: #147a43;
}

.form-message.error {
    background: #fff1f1;
    color: #a52626;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 22px;
    }
}
/* Página do catálogo de produtos */
.products-page-title {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.products-page-intro {
    max-width: 720px;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 1.12rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(16, 38, 63, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(16, 38, 63, .12);
}

.product-card-visual {
    min-height: 180px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.35), transparent 45%),
        linear-gradient(145deg, #173a63, #2e9bff);
}

.product-card-body {
    padding: 24px;
}

.product-card h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.product-card p {
    min-height: 78px;
    color: var(--muted);
}

.product-card span {
    color: var(--blue);
    font-size: 1.6rem;
    font-weight: 900;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card p {
        min-height: 0;
    }
}
.products-page-title {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.products-page-intro {
    max-width: 720px;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 1.12rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(16,38,63,.07);
}

.product-card-visual {
    min-height: 180px;
    background: linear-gradient(145deg, #173a63, #2e9bff);
}

.product-card-body {
    padding: 24px;
}

.product-card h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.product-card p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}