/* ---------- Reset simples ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #2b211b;
    background-color: #f5f1eb;
    line-height: 1.6;
}

/* ---------- Utilidades ---------- */
.container {
    width: min(1200px, 100% - 3rem);
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #4a3325;
}

.section-header p {
    max-width: 42rem;
    margin: 0 auto;
    color: #6f5a4a;
}

/* ---------- Header ---------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(32, 24, 19, 0.96);
    color: #fdfaf6;
    backdrop-filter: blur(6px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-text span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: #fdfaf6;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background: #d1a05b;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ---------- Hero ---------- */
.hero {
    padding: 4.5rem 0 4rem;
    background: radial-gradient(circle at top, #f5e3cf 0, #f5f1eb 40%, #efe2d4 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4a3325;
}

.hero-text p {
    margin-bottom: 0.8rem;
    color: #554235;
}

.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- Botões ---------- */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8d5a32, #c48a54);
    color: #fffdf8;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
    background: transparent;
    color: #4a3325;
    border-color: #c48a54;
}

.btn-secondary:hover {
    background: #4a3325;
    color: #fdfaf6;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* ---------- Hero card ---------- */
.hero-highlight {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: rgba(32, 24, 19, 0.96);
    color: #fdfaf6;
    padding: 1.75rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    max-width: 360px;
}

.hero-card h3 {
    font-size: 1.1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
}

.hero-card li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

/* ---------- Galeria ---------- */
.bg-texture {
    background-image: linear-gradient(135deg, rgba(222, 202, 177, 0.35), rgba(245, 241, 235, 0.6));
}

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    border-radius: 999px;
    border: 1px solid #c48a54;
    background: transparent;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    color: #4a3325;
    transition: background 0.15s ease, color 0.15s ease;
}

.tab-button.active,
.tab-button:hover {
    background: #4a3325;
    color: #fdfaf6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 1rem;
    background: #fffdf8;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.gallery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 220px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item figcaption {
    padding: 0.75rem 1rem 1rem;
    font-size: 0.9rem;
    color: #4a3325;
}

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    color: #6f5a4a;
}

.gallery-note a {
    color: #8d5a32;
    text-decoration: none;
    border-bottom: 1px solid rgba(141, 90, 50, 0.5);
}

.gallery-note a:hover {
    border-color: #8d5a32;
}

/* ---------- Formulário de Orçamento ---------- */
.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: flex-start;
}

.quote-form {
    background: #fffdf8;
    padding: 1.5rem 1.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #4a3325;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.16);
    font-size: 0.95rem;
    background: #fbf7f2;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #c48a54;
    box-shadow: 0 0 0 2px rgba(196, 138, 84, 0.25);
    background: #fffdf8;
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #7b6453;
}

/* ---------- Info cards ---------- */
.quote-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: #f0e3d7;
    padding: 1.25rem 1.5rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card.secondary {
    background: #e1d3c3;
}

.info-card h3 {
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #4a3325;
}

.info-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #5a4537;
}

.info-card p {
    font-size: 0.9rem;
    color: #5a4537;
    margin-bottom: 0.35rem;
}

/* ---------- Contactos ---------- */
.bg-dark {
    background: #201813;
    color: #f5ede4;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
}

.contacts-text h2 {
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.contacts-text p {
    margin-bottom: 1rem;
    color: #e7d8c9;
}

.contact-list {
    list-style: none;
    margin-bottom: 1rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

.contact-list a {
    color: #f3c68b;
    text-decoration: none;
}

.contact-note {
    font-size: 0.9rem;
    color: #d8c7b5;
}

.contacts-map {
    display: flex;
    justify-content: center;
}

.map-placeholder {
    border-radius: 1rem;
    border: 1px dashed rgba(249, 237, 222, 0.5);
    padding: 2rem 1rem;
    text-align: center;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3c68b;
    font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.main-footer {
    background: #120c09;
    color: #f5ede4;
    padding: 0.8rem 0;
    font-size: 0.8rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-credit {
    opacity: 0.7;
}

/* ---------- Responsividade ---------- */
@media (max-width: 900px) {
    .hero-content,
    .form-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .hero-highlight {
        justify-content: flex-start;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .main-nav {
        justify-content: center;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .quote-form {
        padding: 1.25rem 1.25rem;
    }
}
