:root {
    --bg-main: #F8F2EE;
    --bg-soft: #EFD9D9;
    --brand: #D9929A;
    --premium: #4B2F3A;
    --accent: #C8A27A;
    --text-main: #5C4A48;
    --text-light: #F4E8E3;
    --white: #FFFDFB;
    --border: rgba(75, 47, 58, 0.14);
    --shadow: 0 16px 40px rgba(75, 47, 58, 0.12);
}

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

body {
    margin: 0;
    font-family: "Inter", "Montserrat", "Lato", sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.65;
}

h1, h2, h3, h4 {
    font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    margin: 0 0 .6rem;
    line-height: 1.2;
    color: #3d2b31;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.narrow {
    width: min(780px, 92%);
}

.section {
    padding: 3.2rem 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-main), #f3e7e4);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    color: #8b6469;
    margin-bottom: .9rem;
    font-weight: 600;
}

.lead {
    font-size: 1.08rem;
    max-width: 58ch;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 15;
    backdrop-filter: blur(10px);
    background: rgba(248, 242, 238, .85);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 122px;
    gap: 1.2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    height: 106px;
}

.brand img {
    display: block;
    height: calc(100% - 16px);
    width: auto;
    object-fit: contain;
    margin: 8px 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: .95rem;
}

.site-nav a {
    opacity: .9;
}

.site-nav a:hover { opacity: 1; color: #7d434f; }

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 999px;
    padding: .35rem .85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all .25s ease;
    font-weight: 500;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem 1rem; }
.btn-dark { background: var(--premium); color: var(--text-light); }
.btn-dark:hover { background: #392028; }
.btn-outline { border-color: var(--premium); color: var(--premium); }
.btn-outline:hover { background: rgba(75, 47, 58, .08); }
.btn-light { background: var(--white); color: var(--premium); border-color: rgba(244, 232, 227, .25); }

.hero {
    padding: 2.75rem 0 4rem;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
}

.hero-stack {
    display: grid;
    gap: 1.4rem;
}

.hero-copy {
    max-width: 920px;
}

.hero-visual {
    min-height: 220px;
    max-width: 460px;
    width: 100%;
    margin-left: auto;
    border-radius: 18px;
    background:
        radial-gradient(circle at 22% 30%, #f4c6cb 0, transparent 34%),
        radial-gradient(circle at 65% 70%, #d5b0b4 0, transparent 33%),
        linear-gradient(145deg, #f5ece8, #e8ced2);
    border: 1px solid rgba(217, 146, 154, .35);
    box-shadow: var(--shadow);
}

.hero-carousel {
    position: relative;
    min-height: 220px;
    max-width: 460px;
    width: 100%;
    margin-left: auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(217, 146, 154, .35);
    box-shadow: var(--shadow);
    background: #f2e4e1;
}

.hero-carousel-large {
    max-width: 100%;
    height: clamp(300px, 52vw, 460px) !important;
    min-height: 0;
    margin-left: 0;
}

.hero-visual-large {
    max-width: 100%;
    height: clamp(300px, 52vw, 460px) !important;
    min-height: 0;
    margin-left: 0;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .45s ease;
}

.hero-slide {
    margin: 0;
    width: 100%;
    flex: 0 0 100%;
    min-height: 220px;
}

.hero-carousel-large .hero-slide,
.hero-carousel-large .hero-slide img {
    height: 100% !important;
    min-height: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(75, 47, 58, .45);
    color: var(--text-light);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
}

.carousel-btn:hover {
    background: rgba(75, 47, 58, .75);
}

.carousel-btn-prev { left: 14px; }
.carousel-btn-next { right: 14px; }

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: .45rem;
    z-index: 2;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

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

.card {
    background: #fff8f6;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(75, 47, 58, .08);
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.feature-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

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

.feature-grid article {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(239, 217, 217, .42);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.text-link {
    color: #7f4652;
    font-weight: 600;
}

.gallery-grid {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: .8rem;
}

.gallery-filters {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}

.chip {
    border: 1px solid rgba(75, 47, 58, .18);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-size: .9rem;
    background: #fff8f6;
}

.chip.is-active {
    background: var(--premium);
    color: var(--text-light);
}

.gallery-item {
    margin: 0;
    border-radius: 14px;
    min-height: 180px;
    background:
      linear-gradient(165deg, rgba(217, 146, 154, .45), rgba(200, 162, 122, .35)),
      linear-gradient(45deg, rgba(75, 47, 58, .2), rgba(255, 255, 255, .15));
    border: 1px solid rgba(75, 47, 58, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(75, 47, 58, .15);
}

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

.gallery-item.horizontal { grid-column: span 6; }
.gallery-item.vertical { grid-column: span 3; min-height: 260px; }
.gallery-item.destaque { grid-column: span 6; min-height: 320px; }

.gallery-empty {
    padding: 2rem 1.25rem;
    background: #fff8f6;
    border-radius: 12px;
    border: 1px dashed rgba(75, 47, 58, .25);
}

.trust {
    padding: 3rem 0;
}

.trust-box {
    background: var(--premium);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 18px;
}

.trust-box p {
    font-size: 1.5rem;
    margin-bottom: .7rem;
}

.final-cta {
    padding: 2rem 0 3.2rem;
}

.final-cta-box {
    background: linear-gradient(130deg, var(--bg-soft), #ead2d2);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.page-hero {
    padding: 4rem 0 .75rem;
}

.page-hero + .section {
    padding-top: 1.2rem;
}

.hero + .section {
    padding-top: 1.6rem;
}

.page-hero-title-with-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.page-hero-title-with-image img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex-shrink: 0;
}

.services-list {
    display: grid;
    gap: 1.2rem;
}

.about-story-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.about-story-media {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(75, 47, 58, .1);
    box-shadow: var(--shadow);
}

.about-story-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

.service-block {
    border: 1px solid rgba(75, 47, 58, .11);
    background: #fff9f7;
    border-radius: 16px;
    padding: 1.5rem;
}

.service-block ul { padding-left: 1.2rem; margin: 1rem 0; }

.service-block-media {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.service-media {
    border-radius: 12px;
    overflow: hidden;
    min-height: 220px;
    background: #f3e4e2;
    border: 1px solid rgba(75, 47, 58, .08);
}

.service-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.service-media-fallback {
    min-height: 220px;
    width: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(217, 146, 154, .45), transparent 36%),
        linear-gradient(145deg, #f6ece8, #ead3d4);
}

.service-content h2 {
    margin-top: .1rem;
}

.contact-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr .75fr;
}

.contact-card,
.contact-aside {
    background: #fff9f8;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(75, 47, 58, .1);
}

.contact-aside a {
    color: #7d434f;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1.5px;
}

.contact-aside a:hover {
    color: var(--premium);
}

.contact-form {
    display: grid;
    gap: .9rem;
}

.form-group label {
    display: block;
    font-size: .92rem;
    margin-bottom: .35rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(75, 47, 58, .2);
    background: #fff;
    padding: .72rem .85rem;
    font: inherit;
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(217, 146, 154, .35);
    border-color: var(--brand);
}

.form-error {
    color: #7f1129;
    display: block;
    margin-top: .3rem;
}

.small-note { opacity: .85; font-size: .9rem; }

.flash-wrapper { padding-top: 1rem; }
.flash {
    padding: .75rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
}
.flash-success { background: #e4f6e8; border-color: #9cd0a6; }
.flash-error { background: #fbe6e7; border-color: #e1a8ad; }

.site-footer {
    background: var(--premium);
    color: var(--text-light);
    margin-top: 2rem;
}

.footer-grid {
    padding: 3.5rem 0 2rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1.2rem;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .45rem;
}

.footer-grid a { color: var(--text-light); opacity: .9; }
.footer-grid a:hover { opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(244, 232, 227, .25);
    text-align: center;
    padding: 1rem 0;
    font-size: .9rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .contact-layout,
    .service-block-media,
    .about-story-layout {
        grid-template-columns: 1fr;
    }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-item.horizontal,
    .gallery-item.vertical,
    .gallery-item.destaque { grid-column: span 6; min-height: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-carousel,
    .hero-slide,
    .hero-slide img {
        min-height: 200px;
    }
    .hero-visual {
        min-height: 200px;
        max-width: 100%;
    }
    .hero-carousel {
        max-width: 100%;
    }
    .hero-carousel-large,
    .hero-visual-large,
    .hero-carousel-large .hero-slide,
    .hero-carousel-large .hero-slide img {
        height: 360px !important;
        min-height: 0;
    }
    .service-media,
    .service-media img,
    .service-media-fallback {
        min-height: 200px;
    }
}

@media (max-width: 760px) {
    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: absolute;
        right: 4%;
        top: 74px;
        min-width: 220px;
        flex-direction: column;
        align-items: stretch;
        background: #fff8f6;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: .8rem;
        display: none;
    }
    .site-nav.open { display: flex; }
    .card-grid { grid-template-columns: 1fr; }
    .section { padding: 2.4rem 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .final-cta-box { align-items: start; flex-direction: column; }
    .hero-carousel,
    .hero-slide,
    .hero-slide img {
        min-height: 170px;
    }
    .hero-visual {
        min-height: 170px;
    }
    .carousel-btn {
        width: 34px;
        height: 34px;
    }
    .hero-carousel-large,
    .hero-visual-large,
    .hero-carousel-large .hero-slide,
    .hero-carousel-large .hero-slide img {
        height: 280px !important;
        min-height: 0;
    }
    .page-hero-title-with-image img {
        width: 72px;
        height: 72px;
    }
    .brand img {
        height: 100%;
    }
    .brand {
        height: 80px;
    }
    .nav-wrap {
        min-height: 96px;
    }
    .brand img {
        height: calc(100% - 12px);
        margin: 6px 0;
    }
}
