:root {
    --navy:#1d3556;
    --navy-dark:#13263f;
    --cream:#f7f5f1;
    --sand:#dfcbb1;
    --text:#28364a;
    --muted:#666d75;
    --line:#e3e1dc;
    --heading:'Italiana',Georgia,serif;
    --body:'DM Sans',Arial,sans-serif;
    --max:1240px;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:86px;
}

body {
    margin:0;
    font:16px/1.65 var(--body);
    color:var(--text);
    background:#fff;
}

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

a {
    color:inherit;
    text-decoration:none;
}

button,input,textarea,select {
    font:inherit;
}

button {
    cursor:pointer;
}

button,a,input,textarea,select {
    -webkit-tap-highlight-color:transparent;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
    outline:3px solid #c79d65;
    outline-offset:3px;
}

.container {
    width:min(var(--max),calc(100% - 80px));
    margin:0 auto;
}

.skip-link {
    position:absolute;
    top:-100px;
    left:10px;
    z-index:100;
    background:white;
    padding:10px;
}

.skip-link:focus {
    top:10px;
}

.site-header {
    height:80px;
    background:var(--navy);
    color:#fff;
    position:relative;
    z-index:20;
}

.header-inner {
    height:100%;
    display:flex;
    align-items:center;
    gap:36px;
}

.brand {
    display:inline-flex;
    align-items:center;
    gap:12px;
    white-space:nowrap;
}

.brand-symbol {
    position:relative;
    width:55px;
    height:54px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.brand-ring {
    position:absolute;
    width:47px;
    height:38px;
    border:1.25px solid currentColor;
    border-radius:50%;
    transform:rotate(-21deg);
}

.brand-t {
    position:relative;
    font-family:Georgia,serif;
    font-style:italic;
    font-size:70px;
    line-height:1;
    font-weight:400;
    transform:translateY(-6px);
}

.brand-name {
    font-family:var(--heading);
    font-size:27px;
    letter-spacing:.025em;
}

.site-nav {
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:29px;
}

.site-nav a {
    font-size:12px;
    opacity:.9;
    transition:opacity .2s;
}

.site-nav a:hover {
    opacity:1;
    text-decoration:underline;
    text-underline-offset:8px;
}

.btn {
    min-height:46px;
    padding:11px 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    border:1px solid transparent;
    font-size:13px;
    font-weight:600;
    transition:background .2s,transform .2s;
}

.btn:hover {
    transform:translateY(-2px);
}

.btn-sand {
    background:var(--sand);
    color:var(--navy-dark);
}

.btn-sand:hover {
    background:#eddbc1;
}

.header-cta {
    font-size:12px;
    min-height:39px;
}

.menu-toggle {
    display:none;
    background:none;
    border:0;
    padding:8px;
    flex-direction:column;
    gap:5px;
}

.menu-toggle span {
    width:25px;
    height:2px;
    background:#fff;
}

.hero {
    height:570px;
    position:relative;
    color:white;
    overflow:hidden;
}

.hero-photo {
    position:absolute;
    inset:0;
    background:#9e9183 url('../images/projects/kitchens_03.png') center 56%/cover no-repeat;
}

.hero-shade {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(12,26,44,.9) 0%,rgba(12,26,44,.76) 27%,rgba(12,26,44,.25) 59%,rgba(12,26,44,.03) 100%);
}

.hero-content {
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
}

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

.eyebrow {
    margin:0 0 17px;
    color:#7a7b78;
    font-size:10px;
    letter-spacing:.19em;
    font-weight:700;
}

.eyebrow-light {
    color:#e6d7c3;
}

.hero h1 {
    font:normal clamp(48px,5vw,77px)/1.04 var(--heading);
    letter-spacing:-.025em;
    margin:0 0 22px;
}

.hero h1 em,.section h2 em,.contact-section h2 em {
    font-style:normal;
    color:var(--sand);
}

.hero-text {
    font-size:16px;
    line-height:1.75;
    max-width:455px;
    margin:0 0 30px;
    color:#f4f4f1;
}

.hero-location {
    position:absolute;
    bottom:27px;
    left:0;
    font-size:10px;
    letter-spacing:.15em;
}

.hero-location span {
    padding:0 10px;
    color:var(--sand);
}

.section {
    padding:90px 0;
}

.section h2,.contact-section h2 {
    font:normal clamp(35px,3.35vw,52px)/1.14 var(--heading);
    letter-spacing:-.012em;
    margin:0 0 23px;
    color:var(--navy);
}

.section h2 em {
    color:#aa8f6e;
}

.intro-grid {
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:90px;
    align-items:center;
}

.body-copy {
    max-width:630px;
    color:var(--muted);
    font-size:14px;
    line-height:1.9;
    margin:0;
}

.values {
    display:flex;
    justify-content:space-between;
    border-left:1px solid var(--line);
}

.value {
    flex:1;
    text-align:center;
    border-right:1px solid var(--line);
    padding:12px 15px;
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:12px;
}

.value-icon {
    font:normal 34px Georgia,serif;
    color:#ac9378;
}

.value strong {
    font-size:10px;
    line-height:1.6;
    letter-spacing:.12em;
    color:#6b6c70;
}

.section-soft {
    background:var(--cream);
}

.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:27px;
}

.section-heading h2 {
    margin:0;
}

.text-link {
    white-space:nowrap;
    font-size:12px;
    border-bottom:1px solid var(--sand);
    padding-bottom:6px;
}

.text-link span {
    padding-left:9px;
}

.service-grid {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:17px;
}

.service-card {
    background:white;
    min-width:0;
    box-shadow:0 2px 10px #00000005;
}

.service-image {
    overflow:hidden;
    aspect-ratio:3/3.15;
    background:#d5d0c8;
}

.service-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s;
}

.service-card:hover img {
    transform:scale(1.06);
}

.service-footer {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:5px;
    padding:15px 14px;
}

.service-footer h3 {
    margin:0;
    font-family:var(--heading);
    font-size:21px;
    line-height:1.15;
    font-weight:400;
}

.service-footer span {
    color:var(--navy);
    font-size:17px;
}

.section-note {
    max-width:255px;
    margin:0;
    color:var(--muted);
    font-size:13px;
}

.filters {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:26px;
}

.filter {
    background:#fff;
    border:1px solid var(--line);
    padding:8px 16px;
    font-size:12px;
    color:var(--text);
    transition:all .2s;
}

.filter.active,.filter:hover {
    background:var(--navy);
    border-color:var(--navy);
    color:#fff;
}

.gallery {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:17px;
}

.gallery-item {
    padding:0;
    display:block;
    position:relative;
    overflow:hidden;
    aspect-ratio:1.35;
    background:#ded8d0;
    border:0;
    color:#fff;
    text-align:left;
}

.gallery-item.wide {
    grid-column:span 2;
    aspect-ratio:2.75;
}

.gallery-item img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s;
}

.gallery-item:hover img {
    transform:scale(1.045);
}

.gallery-item:after {
    content:"";
    position:absolute;
    inset:38% 0 0;
    background:linear-gradient(transparent,rgba(0,0,0,.57));
    pointer-events:none;
}

.gallery-label {
    position:absolute;
    z-index:1;
    left:23px;
    right:23px;
    bottom:17px;
    font:23px var(--heading);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.gallery-label span {
    font:20px var(--body);
}

.gallery-item[hidden] {
    display:none;
}

.gallery-disclaimer {
    font-size:11px;
    color:#777;
    margin:19px 0 0;
}

.service-area {
    background:#f0eee9;
}

.area-inner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.area-inner p:not(.eyebrow) {
    font-size:14px;
    color:var(--muted);
    max-width:550px;
}

.area-tags {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.area-tags span {
    border:1px solid #c8c2b8;
    padding:12px 17px;
    font-size:12px;
    white-space:nowrap;
}

.contact-section {
    background:var(--navy);
    color:#fff;
    padding:80px 0;
}

.contact-inner {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:start;
}

.contact-section h2 {
    color:#fff;
    font-size:clamp(39px,4vw,60px);
}

.contact-section p:not(.eyebrow) {
    color:#dce1e8;
    font-size:14px;
}

.contact-form {
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.contact-form label {
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:11px;
    letter-spacing:.04em;
}

.contact-form input,.contact-form textarea,.contact-form select {
    width:100%;
    border:1px solid #73839b;
    background:#fff;
    color:#23364a;
    border-radius:0;
    padding:11px 12px;
    min-height:45px;
    font-size:13px;
}

.contact-form textarea {
    resize:vertical;
}

.contact-form .btn {
    align-self:start;
}

.contact-form .form-hint {
    font-size:11px!important;
    margin:0;
    opacity:.7;
}

.site-footer {
    background:#fff;
    color:var(--navy);
}

.footer-main {
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.5fr;
    gap:50px;
    padding:65px 0 45px;
}

.footer-brand .brand-name {
    font-size:25px;
}

.footer-main>div {
    display:flex;
    flex-direction:column;
    align-items:start;
    gap:8px;
}

.footer-main>div:first-child p {
    color:var(--muted);
    font-size:12px;
}

.footer-main strong {
    font-size:12px;
    margin:4px 0 8px;
}

.footer-main a:not(.brand),.footer-main span:not(.brand-symbol,.brand-ring,.brand-t,.brand-name) {
    font-size:12px;
    color:var(--muted);
}

.footer-main a:hover {
    text-decoration:underline;
}

.footer-bottom {
    border-top:1px solid var(--line);
    padding:18px 0;
    display:flex;
    justify-content:space-between;
    font-size:10px;
    color:#777;
}

.lightbox {
    padding:0;
    border:0;
    max-width:none;
    max-height:none;
    width:100vw;
    height:100dvh;
    background:rgba(8,15,26,.96);
    color:#fff;
    overflow:hidden;
}

.lightbox::backdrop {
    background:rgba(8,15,26,.96);
}

.lightbox-content {
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    padding:55px 75px 50px;
}

.lightbox-image {
    max-width:100%;
    max-height:calc(100% - 54px);
    width:auto;
    height:auto;
    object-fit:contain;
}

.lightbox-top {
    position:absolute;
    top:15px;
    left:25px;
    right:25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:13px;
}

.lightbox-close {
    color:#fff;
    background:none;
    border:0;
    font-size:39px;
    line-height:1;
}

.lightbox-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:56px;
    color:#fff;
    background:none;
    border:0;
    padding:8px 14px;
}

.lightbox-arrow.prev {
    left:15px;
}

.lightbox-arrow.next {
    right:15px;
}

.lightbox-caption {
    font-size:13px;
    margin:15px 0 0;
    text-align:center;
}

@media(max-width:1050px) {
    .container {
        width:min(var(--max),calc(100% - 50px));
    }

    .site-nav {
        gap:18px;
    }

    .header-inner {
        gap:18px;
    }

    .brand-name {
        font-size:23px;
    }

    .intro-grid,.contact-inner {
        gap:38px;
    }

    .service-grid {
        grid-template-columns:repeat(3,1fr);
    }

    .service-image {
        aspect-ratio:1.45;
    }

    .footer-main {
        gap:25px;
    }

}

@media(max-width:760px) {
    html {
        scroll-padding-top:68px;
    }

    .container {
        width:calc(100% - 36px);
    }

    .site-header {
        height:68px;
    }

    .brand-symbol {
        transform:scale(.8);
        transform-origin:left center;
        width:45px;
    }

    .brand-name {
        font-size:23px;
    }

    .header-cta {
        display:none;
    }

    .menu-toggle {
        display:flex;
        margin-left:auto;
    }

    .site-nav {
        display:none;
        position:absolute;
        top:68px;
        left:0;
        right:0;
        background:var(--navy-dark);
        padding:22px 20px 30px;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        box-shadow:0 16px 20px #0003;
    }

    .site-nav.open {
        display:flex;
    }

    .site-nav a {
        padding:12px;
        border-bottom:1px solid #ffffff25;
        font-size:14px;
    }

    .hero {
        height:600px;
        min-height:0;
    }

    .hero-photo {
        background-position:62% center;
    }

    .hero-shade {
        background:linear-gradient(90deg,rgba(12,26,44,.82),rgba(12,26,44,.3)),linear-gradient(0deg,rgba(12,26,44,.55),transparent 50%);
    }

    .hero h1 {
        font-size:clamp(46px,10vw,65px);
    }

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

    .hero-text {
        font-size:14px;
    }

    .hero-location {
        font-size:9px;
        bottom:20px;
    }

    .section {
        padding:65px 0;
    }

    .intro-grid,.contact-inner {
        grid-template-columns:1fr;
        gap:36px;
    }

    .section h2 {
        font-size:clamp(37px,7vw,50px);
    }

    .values {
        border-left:0;
    }

    .value:first-child {
        border-left:1px solid var(--line);
    }

    .section-heading {
        align-items:start;
        flex-direction:column;
        gap:15px;
    }

    .service-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:13px;
    }

    .service-image {
        aspect-ratio:1.15;
    }

    .service-footer {
        padding:13px 10px;
    }

    .service-footer h3 {
        font-size:19px;
    }

    .gallery {
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .gallery-item.wide {
        grid-column:span 2;
        aspect-ratio:1.7;
    }

    .gallery-item {
        aspect-ratio:1;
    }

    .gallery-label {
        font-size:18px;
        left:12px;
        right:12px;
        bottom:10px;
    }

    .area-inner {
        align-items:start;
        flex-direction:column;
        gap:17px;
    }

    .contact-section {
        padding:65px 0;
    }

    .footer-main {
        grid-template-columns:repeat(2,1fr);
        gap:30px;
        padding:48px 0 35px;
    }

    .footer-main>div:first-child {
        grid-column:span 2;
    }

    .footer-bottom {
        gap:15px;
        flex-direction:column;
    }

    .lightbox-content {
        padding:65px 45px 50px;
    }

    .lightbox-arrow {
        font-size:42px;
        padding:8px;
    }

    .lightbox-arrow.prev {
        left:0;
    }

    .lightbox-arrow.next {
        right:0;
    }

}

@media(max-width:420px) {
    .hero {
        height:560px;
    }

    .hero h1 {
        font-size:46px;
    }

    .eyebrow {
        font-size:9px;
    }

    .hero-location {
        letter-spacing:.065em;
    }

    .hero-location span {
        padding:0 5px;
    }

    .service-footer h3 {
        font-size:17px;
    }

    .form-grid {
        grid-template-columns:1fr;
    }

    .filter {
        padding:7px 11px;
        font-size:11px;
    }

    .gallery-label {
        font-size:15px;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }

    *,*:before,*:after {
        transition:none!important;
        animation:none!important;
    }

}

/* ============================================================
   LOGOTIPOS SVG: HEADER E FOOTER
   Substitua assets/images/logo-header.svg e logo-footer.svg.
   Ajuste apenas a altura abaixo se o arquivo tiver outra proporção.
   ============================================================ */
.brand-logo {
    display: block;
    width: auto;
    max-width: 250px;
    height: 48px;
    object-fit: contain;
}

.header-logo {
    height: 48px;
}

.footer-logo {
    height: 55px;
    max-width: 270px;
}

@media (max-width: 760px) {
    .header-logo {
        height: 40px;
        max-width: 205px;
    }

    .footer-logo {
        height: 48px;
        max-width: 235px;
    }
}

/* ============================================================
   GALERIA REAL - NOVA APRESENTACAO
   ============================================================ */
.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-image {
    aspect-ratio: 4 / 3.5;
}
.gallery-item {
    aspect-ratio: 1.3;
}
.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2.75;
}
.filter-count {
    opacity: .65;
    margin-left: 4px;
    font-size: 10px;
}
.gallery-item img {
    object-position: center;
}
@media (max-width: 1050px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-item {
        aspect-ratio: 1;
    }
    .gallery-item.wide {
        aspect-ratio: 1.65;
    }
}

/* ============================================================
   LINKS SOCIAIS / PERFIL DO GOOGLE
   Instagram: ativar o link comentado no index.html quando o
   endereço oficial do perfil for confirmado pelo cliente.
   ============================================================ */
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 9px 12px;
    color: var(--navy) !important;
    background: #f7f5f1;
    font-size: 12px;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease;
}

.social-link:hover {
    background: #ece6dc;
    border-color: var(--sand);
    text-decoration: none !important;
}

.social-link svg {
    flex: 0 0 auto;
}

/* ================================================
   CONTACT FORM: DELIVERY CONFIRMATION + ANTI-SPAM
   ================================================ */
.website-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-feedback {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid;
  font-size: 14px;
  line-height: 1.5;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback.is-success {
  background: #e7f5ec;
  color: #155c32;
  border-color: #9cd6b0;
}

.form-feedback.is-error {
  background: #fff0ee;
  color: #8c2920;
  border-color: #e7a59d;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.75;
}
/* ========================================
   ANTI-SPAM: HONEYPOT
   Campo invisível para visitantes
======================================== */

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}