*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f1e9;color:#4b4039;font-family:"DM Sans",sans-serif;line-height:1.6}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;border-bottom:1px solid #e8ded3;background:rgba(247,241,233,.92);backdrop-filter:blur(10px);position:sticky;top:0;z-index:20}.brand{display:flex;flex-direction:column;font-family:"Playfair Display",serif;font-size:1.15rem;color:#514239;text-decoration:none;line-height:1.05}.brand-small{font-size:.75rem;color:#a9826e;letter-spacing:.05em}nav{display:flex;gap:2rem}nav a{color:#6a5b51;text-decoration:none;font-size:.9rem}.header-cta,.button{border-radius:999px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.7rem;transition:.25s}.header-cta{background:#b68c75;color:white;padding:.75rem 1.2rem;font-size:.85rem}.menu-button{display:none;border:0;background:none;font-size:1.5rem}.hero{min-height:calc(100vh - 82px);padding:7vw 9vw 5vw;display:grid;grid-template-columns:1fr .85fr;gap:5vw;align-items:center}.eyebrow{font-size:.72rem;letter-spacing:.16em;color:#a67b64;font-weight:700;margin:0 0 1rem}h1,h2,h3{font-family:"Playfair Display",serif;line-height:1.08;margin:0;color:#4d4038}h1{font-size:clamp(3rem,5.5vw,5.6rem);font-weight:600;letter-spacing:-.04em}h2{font-size:clamp(2.4rem,4vw,4.2rem);font-weight:500;letter-spacing:-.035em}h3{font-size:1.35rem}em{font-weight:400;color:#b08269}.lead{max-width:580px;font-size:1.1rem;color:#75665d;margin:1.6rem 0 2rem}.hero-actions{display:flex;gap:1rem;flex-wrap:wrap}.button{padding:1rem 1.5rem;font-size:.92rem}.primary{background:#b68c75;color:#fff}.ghost{border:1px solid #d7c7ba;color:#5d4e45}.dark{background:#514239;color:#fff}.hero-trust{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem;font-size:.78rem;color:#8a776c}.hero-visual{position:relative}.hero-photo{height:min(72vh,700px);border-radius:180px 180px 16px 16px;overflow:hidden;background:#eadbd0}.hero-photo img,.about-image img,.gallery-card img,.technology-image img{width:100%;height:100%;object-fit:cover}.hero-photo img{object-position:center}.floating-card{position:absolute;bottom:6%;left:-10%;background:#fffaf5;padding:1rem 1.2rem;border-radius:14px;box-shadow:0 15px 40px #69503c22;display:flex;gap:.8rem;align-items:flex-start;max-width:270px}.floating-card strong,.floating-card small{display:block}.floating-card small{font-size:.75rem;color:#897a70}.dot{width:10px;height:10px;background:#c6997e;border-radius:50%;margin-top:.45rem;flex:none}.section{padding:8rem 9vw}.about{background:#eee1d4;display:grid;grid-template-columns:.9fr 1.1fr;gap:7vw;align-items:center}.about-image{height:680px;border-radius:14px;overflow:hidden}.about-copy>p{font-size:1.02rem;max-width:650px;color:#706158}.credentials{margin-top:2rem;border-top:1px solid #d8c6b7}.credentials>div{display:flex;gap:1.3rem;padding:1.2rem 0;border-bottom:1px solid #d8c6b7}.credentials span{font-family:"Playfair Display",serif;color:#b08269;font-size:1.3rem}.credentials p{margin:0;font-size:.92rem}.section-head{text-align:center;max-width:720px;margin:0 auto 3rem}.section-head>p:last-child,.gallery-intro>p:last-child{color:#75665d}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:1200px;margin:auto}.service-card{background:#fffaf5;padding:2rem;border:1px solid #eadfd5;min-height:240px;border-radius:12px}.service-card>span{color:#b08269;font-size:.8rem}.service-card h3{margin:2.5rem 0 .8rem}.service-card p{font-size:.9rem;color:#7d6f65}.service-card.accent{background:#d7b7a3;border-color:#d7b7a3}.service-card.accent a{color:#514239;text-decoration:none;display:block;margin-top:1.4rem;font-weight:700}.gallery{background:#514239;color:#f9f1e9}.gallery h2{color:#fff8f2}.gallery-intro{text-align:center;max-width:700px;margin:0 auto 3rem}.gallery-intro>p:last-child{color:#e5d8cf}.gallery-wrap{display:flex;align-items:center;gap:1.2rem;width:100%;max-width:1100px;margin:auto;min-width:0}.gallery-viewport{flex:1 1 auto;min-width:0;width:0;overflow:hidden;border-radius:12px}.gallery-track{display:flex;flex-wrap:nowrap;gap:1rem;width:max-content;min-width:0;margin:0;padding:0;transition:transform .65s cubic-bezier(.22,.61,.36,1);will-change:transform}.gallery-card{height:420px;position:relative;overflow:hidden;border-radius:12px;flex:0 0 var(--gallery-card-width,300px);width:var(--gallery-card-width,300px);min-width:var(--gallery-card-width,300px);display:block}.gallery-card img{width:100%;height:100%;object-fit:contain;object-position:center;background:#3f322c}.gallery-card:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.6));pointer-events:none}.gallery-card div{position:absolute;z-index:2;bottom:1.5rem;left:1.5rem;color:white}.gallery-card h3{color:white;font-size:1.2rem;margin-top:.3rem}.gallery-card span{font-size:.7rem;letter-spacing:.1em}.gallery-arrow{width:48px;height:48px;flex:0 0 48px;border-radius:50%;border:1px solid #ffffff55;background:transparent;color:white;font-size:1.2rem;cursor:pointer;z-index:3}.gallery-dots{display:flex;justify-content:center;gap:.5rem;margin-top:1.5rem}.gallery-dots button{width:7px;height:7px;border:0;border-radius:50%;background:#ffffff55;cursor:pointer}.gallery-dots button.active{background:white;width:22px;border-radius:10px}.gallery-note{max-width:720px;margin:1.5rem auto 0;text-align:center;color:#d9ccc3;font-size:.78rem}.gallery-note code{background:#ffffff18;padding:.15rem .35rem;border-radius:4px}.technology{display:grid;grid-template-columns:1.1fr .9fr;gap:7vw;align-items:center;background:#f0e4d9}.technology-copy>p:not(.eyebrow){color:#75665d;max-width:640px}.technology-image{height:580px;border-radius:16px;overflow:hidden}.tech-points{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem}.tech-points span{font-size:.9rem;color:#66554b}.reasons{display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:start}.reason-list article{display:flex;gap:1.5rem;padding:1.6rem 0;border-bottom:1px solid #dfd3c8}.reason-list span{color:#b08269;font-size:.85rem}.reason-list h3{margin-bottom:.4rem}.reason-list p{margin:0;color:#75665d;font-size:.92rem}.cta{padding:8rem 9vw;background:#d8b8a5;text-align:center}.cta-content{max-width:900px;margin:auto}.cta .button{margin-top:1.7rem}.contact{display:grid;grid-template-columns:1fr 1fr;gap:7vw}.contact-list{margin-top:2rem}.contact-list p{display:grid;grid-template-columns:130px 1fr;padding:1rem 0;margin:0;border-bottom:1px solid #dfd4ca}.contact-list strong{font-family:"Playfair Display",serif}.contact-list a{color:#a47761}.map{min-height:420px;background:#eee1d4;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}.map iframe{display:block;width:100%;min-height:420px}.map-placeholder{text-align:center;padding:2rem;color:#75665d}.map-placeholder span{font-size:2rem;color:#b08269}.map-placeholder h3{margin:.7rem 0}footer{padding:2rem 9vw;border-top:1px solid #e3d8ce;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.78rem;color:#8b7b71}.whatsapp-float{position:fixed;right:25px;bottom:25px;width:58px;height:58px;border-radius:50%;background:#2d9f67;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:1.9rem;box-shadow:0 8px 25px #0003;z-index:15}.reveal{opacity:0;transform:translateY(20px);transition:.7s ease}.reveal.visible{opacity:1;transform:none}@media(max-width:900px){.topbar{padding:0 5vw}.header-cta{display:none}.menu-button{display:block}nav{display:none;position:absolute;top:82px;left:0;right:0;background:#f7f1e9;padding:1.5rem 5vw;flex-direction:column;border-bottom:1px solid #e8ded3}nav.open{display:flex}.hero,.about,.reasons,.contact,.technology{grid-template-columns:1fr}.hero{padding:4rem 7vw 5rem}.hero-visual{max-width:600px;width:100%;margin:auto}.about-image{height:520px}.section{padding:5rem 7vw}.service-grid{grid-template-columns:repeat(2,1fr)}.gallery-arrow{display:none}.reasons{gap:3rem}.contact{gap:3rem}footer{flex-direction:column;text-align:center}}@media(max-width:600px){h1{font-size:3.25rem}.hero{min-height:auto}.hero-photo{height:540px}.floating-card{left:4%;bottom:-3%}.about-image{height:440px}.technology-image{height:500px}.service-grid{grid-template-columns:1fr}.service-card{min-height:210px}.gallery-card{height:470px}.contact-list p{grid-template-columns:1fr;gap:.2rem}.tech-points{grid-template-columns:1fr}footer{padding:2rem 7vw}.hero-actions .button{width:100%}}
.map{overflow:hidden}.map iframe{display:block;width:100%;height:100%;min-height:420px}

/* Ajuste seguro de overflow: a janela recorta o trilho, não o trilho. */
html, body {
  overflow-x: hidden;
}

.gallery-viewport {
  min-width: 0;
  overflow: hidden;
}

.gallery-track {
  overflow: visible;
}

/* CARROSSEL — JANELA FIXA */
@media (min-width:901px){
  .gallery-wrap{max-width:1100px}
}

@media (min-width:601px) and (max-width:900px){
  .gallery-arrow{display:none}
  .gallery-card{height:430px}
}

@media (max-width:600px){
  .gallery-wrap{display:block}
  .gallery-arrow{display:none}
  .gallery-card{height:470px}
}

.about-copy > p:not(.eyebrow){text-align:justify}
html,body{max-width:100%;overflow-x:hidden}

/* CARROSSEL ESTÁVEL — regras finais */
html, body { overflow-x: hidden; }
.gallery-viewport { flex: 1 1 auto; min-width: 0; width: 0; overflow: hidden; }
.gallery-track { display: flex; flex-wrap: nowrap; width: max-content; gap: 1rem; min-width: 0; margin: 0; padding: 0; }
.gallery-card { display: block; flex: 0 0 var(--gallery-card-width, 300px); width: var(--gallery-card-width, 300px); min-width: var(--gallery-card-width, 300px); }

@media (max-width: 900px) {
  .gallery-wrap { width: 100%; max-width: none; }
  .gallery-viewport { width: 100%; }
  .gallery-arrow { display: none; }
  .gallery-track { gap: 0; }
  .gallery-card { flex-basis: 100%; width: 100%; min-width: 100%; height: 430px; }
}

@media (max-width: 600px) {
  .gallery-card { height: 470px; }
}
