/* =========================
   BASE & TOKENS
========================= */
:root {
    --color-bg: #f5f7fa;
    --color-bg-alt: #ffffff;
    --color-primary: #0a3a4a;
    --color-primary-soft: #0f495d;
    --color-accent: #1c5440;
    --color-text: #333333;
    --color-muted: #6f7b87;
    --color-border: #dde3eb;
    --color-highlight: #e3f2ed;
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* Containers & typography */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.6em;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

h3 {
    font-size: 1.25rem;
}

/* =========================
   HEADER & NAV
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-family: "Montserrat", system-ui, sans-serif;
}

.logo-mark {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--color-accent);
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(28, 84, 64, 0.25);
    background: #f3faf7;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.15rem;
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    transition: width var(--transition-fast);
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 58, 74, 0.35);
    color: var(--color-primary);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
}

/* =========================
   HERO
========================= */

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-image:
        linear-gradient(120deg, rgba(10, 58, 74, 0.78), rgba(10, 58, 74, 0.4)),
        url("../images/fachada-frontal.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0 4rem;
}

.hero-text {
    max-width: 640px;
}

.hero-section h1 {
    color: #ffffff;
    margin-bottom: 0.4em;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #d7f0ea;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 0.98rem;
    color: #e3edf3;
    max-width: 560px;
    margin-bottom: 1.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
    white-space: nowrap;
}

.btn i {
    font-size: 0.95rem;
}

.btn-primary {
    background: #ffffff;
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    background: #f4faf9;
}

.btn-secondary {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-secondary:hover {
    background: #f8fbff;
    transform: translateY(-1px);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 4rem 0;
}

.section-light {
    background: var(--color-bg);
}

.section-accent {
    background: radial-gradient(circle at top left, #1c5440 0, #0a3a4a 40%, #071f27 100%);
    color: #ffffff;
}

.section-accent h2,
.section-accent h3 {
    color: #ffffff;
}

.section-intro {
    max-width: 640px;
    margin: 0.2rem auto 2rem;
    text-align: center;
    color: var(--color-muted);
}

.section-accent .section-intro {
    color: #d9e4eb;
}

/* Two-columns generic layout */

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.col {
    min-width: 0;
}

/* =========================
   CARDS & LISTS
========================= */

.feature-card,
.highlight-box,
.spec-card,
.tech-card,
.contact-highlight {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(221, 227, 235, 0.7);
}

.section-accent .highlight-box {
    background: rgba(6, 19, 24, 0.74);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f5f9fb;
}

.checklist {
    list-style: none;
    margin-top: 0.5rem;
}

.checklist li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.section-accent .checklist li {
    color: #d7e5ee;
}

.checklist li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1rem;
    color: var(--color-accent);
}

.section-accent .checklist li::before {
    color: #89e0b8;
}

.icon-list {
    list-style: none;
    margin-top: 0.75rem;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.section-accent .icon-list li {
    color: #e1edf4;
}

.icon-list i {
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
    color: var(--color-accent);
}

.section-accent .icon-list i {
    color: #8be3ba;
}

/* =========================
   FICHA TÉCNICA
========================= */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.tech-card h3 {
    margin-bottom: 0.7rem;
}

.tech-card dl {
    margin: 0;
}

.tech-card dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.tech-card dd {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

/* =========================
   ESPECIFICAÇÕES
========================= */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.spec-card h3 {
    margin-bottom: 0.6rem;
}

.spec-card ul {
    list-style: none;
    font-size: 0.92rem;
    color: var(--color-muted);
}

.spec-card li {
    margin-bottom: 0.4rem;
}

/* =========================
   LOCALIZAÇÃO
========================= */

.section-location {
    position: relative;
}

.section-location .col:first-child p {
    color: #dbe8f1;
}

.location-address {
    margin: 1rem 0 1.3rem;
    font-size: 0.92rem;
    color: #e5eff7;
}

.location-details h3 {
    margin-top: 1.3rem;
    margin-bottom: 0.4rem;
}

.location-details .icon-list li {
    font-size: 0.9rem;
}

.location-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(8, 38, 48, 0.35);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   GALERIA
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(221, 227, 235, 0.8);
}

.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* =========================
   CONTATO
========================= */

.section-contact {
    background: radial-gradient(circle at top, #f4faf9 0, #e6f1ec 20%, #f5f7fa 80%);
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: center;
}

.contact-text p {
    color: var(--color-muted);
    font-size: 0.96rem;
    margin-bottom: 0.6rem;
}

.contact-highlight {
    background: #0a3a4a;
    color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    border: none;
}

.contact-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin-bottom: 0.4rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 0;
}

.contact-email i {
    font-size: 1rem;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #050f13;
    color: #9ba6b2;
    padding: 1.5rem 0 1.8rem;
    font-size: 0.85rem;
}

.footer-content {
    text-align: center;
}

.footer-sub {
    margin-top: 0.15rem;
    color: #7e8a96;
}

/* =========================
   RESPONSIVE
========================= */

/* <= 1100px: apertar grids */
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* <= 992px: 2 colunas viram 1, ficha e specs mais fluidas */
@media (max-width: 992px) {

    .section {
        padding: 3.2rem 0;
    }

    .two-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .spec-grid,
    .tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* <= 768px: otimizações para mobile */
@media (max-width: 768px) {

    .container {
        padding: 0 1.1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul {
        justify-content: flex-start;
        gap: 0.7rem 1rem;
        font-size: 0.86rem;
    }

    .hero-section {
        text-align: left;
        background-position: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn {
        padding-inline: 1.2rem;
    }

    .gallery-item img {
        height: 190px;
    }
}

/* <= 520px: mobile estreito */
@media (max-width: 520px) {

    .section {
        padding: 2.8rem 0;
    }

    .hero-content {
        padding-top: 3.2rem;
        padding-bottom: 3rem;
    }

    .hero-section {
        background-position: center;
    }

    h1 {
        font-size: 1.9rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
    }

    .spec-grid,
    .tech-grid,
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-highlight {
        padding: 1.4rem 1.3rem;
    }
}
