:root {
  color-scheme: dark;
  --bg: #080c10;
  --panel: #101920;
  --text: #f3f8f8;
  --muted: #b0c2ca;
  --line: #2a3a45;
  --aqua: #80e9dd;
  --ink: #06272c;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 30; border-radius: 8px; background: var(--text); color: var(--ink); padding: 12px 20px; }
.skip:focus { top: 16px; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; width: min(1224px, 100%); margin-inline: auto; display: flex; justify-content: center; align-items: center; padding: 0 108px; }
.brand { display: block; flex-shrink: 0; }
.brand-logo { width: clamp(230px, 20vw, 270px); height: auto; mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 87%, transparent); mask-composite: intersect; }
.language-buttons { position: absolute; top: 24px; right: 32px; display: flex; flex-direction: column; gap: 6px; }
.language-button { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 12px; min-width: 70px; min-height: 44px; color: var(--muted); background: #101920; border: 1px solid var(--line); border-radius: 9px; font-size: .875rem; font-weight: 600; transition: background .2s, border-color .2s; }
.language-button svg { width: 23px; height: 16px; flex-shrink: 0; border-radius: 2px; }
.language-button[aria-current="page"] { border-color: var(--aqua); background: #17393e; color: var(--text); }
.language-button:hover { background: #1a303a; border-color: #669d9f; }
.hero { padding: 0 0 40px; text-align: center; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .14em; color: var(--aqua); line-height: 1.6; margin-bottom: 12px; }
.hero .eyebrow { margin-bottom: 14px; }
h1 { max-width: 900px; margin-inline: auto; font-size: clamp(2.25rem, 4.5vw, 3.65rem); font-weight: 600; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
h1 span { display: block; }
.aqua { color: var(--aqua); }
.intro { max-width: 655px; margin: 22px auto 24px; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; min-height: 50px; padding: 13px 24px; background: var(--aqua); color: var(--ink); font-size: 1rem; font-weight: 650; line-height: 1.5; text-align: center; transition: background .2s, transform .2s; }
.button:hover { background: #b0fff2; transform: translateY(-1px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-underline-offset: 5px; }
.text-link:hover { color: var(--aqua); text-decoration: underline; }
.hero-note { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.section { padding-block: 42px 56px; }
.care { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 26px; }
h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 550; line-height: 1.2; letter-spacing: -.025em; white-space: pre-line; text-wrap: balance; }
.section-heading > p { max-width: 325px; font-size: 1rem; color: var(--muted); padding-bottom: 3px; }
.service-scenes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.scene-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pool-scene, .wall-scene { grid-column: span 7; }
.deck-scene, .paving-scene { grid-column: span 5; }
.pool-scene { border-color: #4e9b9a; }
.service-link { display: flex; height: 100%; flex-direction: column; }
.scene-card:has(a:focus-visible), .scene-card:hover { border-color: var(--aqua); }
.scene-card.selected { border-color: var(--aqua); box-shadow: 0 0 0 2px #80e9dd40; }
.service-link:focus-visible { outline: 3px solid var(--aqua); outline-offset: -3px; border-radius: var(--radius); }
.scene-visual { position: relative; height: 255px; overflow: hidden; flex-shrink: 0; }
.scene-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pool-scene img { object-position: center 60%; }
.scene-card:hover img, .scene-card:focus-within img { transform: scale(1.025); }
.photo-credit { position: absolute; top: 12px; right: 12px; border-radius: 5px; background: #080c10d9; color: #e6f1f3; padding: 4px 8px; font-size: .75rem; line-height: 1.4; }
.scene-copy { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 26px; }
.scene-copy .eyebrow { font-size: .875rem; letter-spacing: .09em; margin-bottom: 7px; }
h3 { font-size: 1.625rem; font-weight: 550; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.scene-description { color: var(--muted); font-size: 1rem; margin: 12px 0 20px; line-height: 1.65; }
.service-cta { align-self: flex-start; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin-top: auto; border-radius: 8px; padding: 10px 14px; border: 1px solid #55727a; color: #defaf6; background: #17323a; font-size: .875rem; font-weight: 600; text-align: center; }
.pool-scene .service-cta { color: var(--ink); background: var(--aqua); border-color: var(--aqua); }
.request { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; border-top: 1px solid var(--line); padding-top: 56px; }
.request-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin-top: 22px; }
.contact-links { display: grid; gap: 12px; margin-top: 28px; }
.contact-whatsapp, .contact-instagram { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #0e161c; }
.contact-whatsapp { border-color: #2f6653; }
.contact-whatsapp:hover { border-color: #65e69d; background: #122b25; }
.contact-instagram:hover { border-color: #bd92c3; background: #231c2b; }
.contact-links strong { display: block; font-size: .875rem; font-weight: 600; }
.contact-detail { display: block; font-size: 1rem; color: var(--muted); overflow-wrap: anywhere; }
.wa-icon, .social-icon { width: 25px; height: 25px; flex-shrink: 0; }
.contact-whatsapp .wa-icon { color: #69e69d; }
.social-icon { color: #daa4d7; }
.request-intro .coverage { font-size: .875rem !important; line-height: 1.7; }
html:not(.js-ready) #request-form { display: none; }
form { min-width: 0; border: 1px solid #344852; border-radius: var(--radius); padding: 30px; background: linear-gradient(145deg, #14232c, var(--panel) 58%); }
.form-hint { color: var(--muted); font-size: .875rem; margin: 9px 0 24px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: block; min-width: 0; font-size: .875rem; font-weight: 500; color: #e4eff2; margin-bottom: 18px; }
input, select, textarea { display: block; width: 100%; min-width: 0; max-width: 100%; margin-top: 8px; padding: 12px; min-height: 50px; border: 1px solid #536873; border-radius: 8px; background: #091117; color: var(--text); font-size: 1rem; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #a3b5bf; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--aqua); outline-offset: 2px; }
select { padding-right: 24px; }
textarea { resize: vertical; }
input[type="date"] { appearance: none; -webkit-appearance: none; }
.selection-feedback { margin-bottom: 20px; border-left: 3px solid var(--aqua); padding: 10px 14px; background: #183138; color: #d3faf5; font-size: .875rem; border-radius: 0 8px 8px 0; }
summary { min-height: 44px; padding: 10px 0; font-size: .875rem; cursor: pointer; color: #c4eee8; }
.optional-details { margin-bottom: 22px; border-block: 1px solid var(--line); }
.optional-fields { padding-top: 14px; }
.photo-hint { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.submit-button { width: 100%; }
.form-note { color: var(--muted); font-size: .875rem; line-height: 1.6; margin-top: 14px; }
.status:not(:empty) { font-size: .875rem; color: #b0f2e2; margin-top: 16px; }
.message-review { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 8px; }
#message { font-size: .875rem; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.copy { min-height: 44px; border: 1px solid #638089; border-radius: 8px; background: #17303a; color: var(--text); padding: 10px 14px; font-size: .875rem; }
.copy:hover { background: #22434c; }
.no-script { color: var(--muted); padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
footer.container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 22px 90px; font-size: .875rem; }
.floating-wa { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 10; display: flex; justify-content: center; align-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid #71e49b; color: #062d1a; background: #42df80; box-shadow: 0 8px 30px #0009; transition: background .2s, transform .2s; }
.floating-wa .wa-icon { width: 31px; height: 31px; }
.floating-wa:hover { background: #74f2a5; transform: translateY(-2px); }
@media (max-width: 900px) {
  .request { grid-template-columns: 1fr 1.15fr; gap: 32px; }
  .scene-copy { padding: 22px; }
  .scene-visual { height: 230px; }
  form { padding: 24px; }
  .fields { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding-inline: 64px; min-height: 238px; }
  .brand-logo { width: 232px; }
  .language-buttons { top: 18px; right: 12px; gap: 5px; }
  .language-button { min-width: 58px; min-height: 44px; padding: 8px; gap: 5px; }
  .language-button svg { width: 20px; height: 14px; }
  .hero { padding-bottom: 32px; }
  .hero .eyebrow { font-size: .875rem; letter-spacing: .09em; }
  h1 { font-size: clamp(2.05rem, 7.8vw, 2.75rem); line-height: 1.15; }
  .intro { font-size: 1rem; line-height: 1.65; margin: 18px auto 22px; }
  .hero-actions { gap: 8px 20px; }
  .hero-note { margin-top: 14px; }
  .section { padding-block: 32px 38px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > p { margin-top: 14px; max-width: none; padding: 0; }
  h2 { font-size: 1.875rem; }
  .service-scenes { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .scene-card { grid-column: auto; }
  .scene-visual { height: auto; aspect-ratio: 16 / 10; }
  .scene-copy { padding: 22px; }
  .scene-description { margin: 10px 0 18px; }
  .request { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 38px; }
  .request-intro > p:not(.eyebrow) { margin-top: 18px; }
  .contact-links { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .contact-whatsapp, .contact-instagram { padding: 12px; gap: 9px; align-items: flex-start; }
  .contact-links .wa-icon, .contact-links .social-icon { width: 22px; height: 22px; margin-top: 2px; }
  .contact-detail { font-size: .875rem; }
  form { padding: 22px; }
  footer.container { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .floating-wa { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 56px; height: 56px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .site-header { padding-inline: 0; }
  .brand-logo { width: min(216px, calc(100vw - 120px)); }
  .language-buttons { right: 8px; }
  .contact-links { grid-template-columns: minmax(0, 1fr); }
  .contact-whatsapp, .contact-instagram { align-items: center; padding: 12px 16px; }
  .scene-copy { padding: 20px; }
  form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene-card:hover img, .scene-card:focus-within img, .button:hover, .floating-wa:hover { transform: none; }
}
@media (forced-colors: active) {
  .button, .service-cta, .language-button, .floating-wa, .scene-card { border: 1px solid ButtonText; }
  .scene-card.selected { outline: 2px solid Highlight; }
}
/* Supplied media, with readable service information over each photograph. */
.scene-card { position: relative; }
.service-link { position: relative; min-height: 450px; justify-content: end; }
.scene-visual { position: absolute; inset: 0; height: 100%; }
.scene-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #07121a00 5%, #07121a24 30%, #07121aeb 77%, #07121afc 100%); }
.scene-copy { position: relative; z-index: 1; flex: 0; padding: 140px 30px 30px; }
.scene-description { color: #e0ebec; max-width: 440px; }
.scene-copy h3 { font-size: clamp(1.8rem, 3vw, 2.35rem); font-weight: 650; }
.scene-copy .eyebrow { color: #a8fff2; text-shadow: 0 1px 4px #000; }
.service-cta { background: #0b202bed; border-color: #8cadb4; font-size: 1rem; }
.deck-scene img { object-position: center 38%; }
.paving-scene img { object-position: center 68%; }
.wall-scene img { object-position: center 40%; }
.media-section { border-top: 1px solid var(--line); }
.media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.media-card { position: relative; display: flex; align-items: end; min-height: 355px; grid-column: span 2; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; isolation: isolate; }
.media-card:nth-child(n+4) { grid-column: span 3; min-height: 315px; }
.media-service-link > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.media-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, #06141b48 35%, #06141bf5 100%); z-index: -1; }
.media-caption { position: relative; width: 100%; padding: 100px 24px 24px; }
.media-caption h3 { font-size: 1.5rem; font-weight: 650; max-width: 90%; }
.media-caption p { margin-top: 12px; color: #dfecef; font-size: 1rem; line-height: 1.6; }
.media-arrow { display: block; margin-top: 14px; font-size: 1.5rem; color: var(--aqua); }
.media-card:hover { border-color: var(--aqua); }
.media-card:hover .media-service-link > img { transform: scale(1.025); }
.media-piscina-noite .media-service-link > img { object-position: center 50%; }
.video-feature { margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: .7fr 1fr; overflow: hidden; background: var(--panel); }
.video-frame { position: relative; width: 100%; background: #06141b; }
.video-frame video { display: block; width: 100%; max-height: 500px; object-fit: contain; }
.video-label { pointer-events: none; position: absolute; top: 20px; left: 20px; right: 20px; padding: 9px 12px; font-size: .8rem; letter-spacing: .1em; background: #07121ada; border-radius: 6px; color: #c7fff4; }
.video-copy { align-self: center; padding: 40px; }
.video-copy h3 { font-size: 2rem; }
.video-copy > p:not(.eyebrow) { margin: 20px 0 26px; color: var(--muted); }
@media (max-width: 900px) { .service-link { min-height: 425px; } .scene-copy { padding: 140px 24px 24px; } .media-grid { gap: 16px; } .media-caption { padding: 100px 20px 20px; } .video-copy { padding: 28px; } }
@media (max-width: 680px) { .service-link { min-height: 440px; } .scene-visual { height: 100%; aspect-ratio: auto; } .scene-copy { padding: 160px 22px 24px; } .media-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } .media-card, .media-card:nth-child(n+4) { grid-column: auto; min-height: 355px; } .media-card:nth-child(n+4) { min-height: 310px; } .video-feature { grid-template-columns: minmax(0, 1fr); } .video-frame video { max-height: 480px; } .video-copy { padding: 28px 24px; } }
@media (prefers-reduced-motion: reduce) { .media-card:hover .media-service-link > img { transform: none; } }
/* Additional supplied photos and native video controls. */
.pool-scene img { object-position: center 42%; }
.media-card, .media-card:nth-child(n+4) { grid-column: span 2; min-height: 355px; }
.gallery-actions { display: flex; justify-content: center; margin-top: 22px; }
.gallery-toggle { padding: 12px 22px; font-size: 1rem; }
.video-heading { margin-top: 44px; margin-bottom: 22px; }
.pool-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pool-video-card { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.pool-video-card video { display: block; width: 100%; max-height: 470px; aspect-ratio: 512 / 682; object-fit: contain; background: #06141b; }
.pool-video-caption { padding: 26px; }
.pool-video-caption h3 { font-size: 1.625rem; }
.pool-video-caption p { color: var(--muted); margin: 14px 0 20px; }
.media-madeira-em-cuidado .media-service-link > img { object-position: center 62%; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 680px) { .media-grid { grid-template-columns: minmax(0, 1fr); } .media-card, .media-card:nth-child(n+4) { grid-column: auto; min-height: 355px; } .pool-videos { grid-template-columns: minmax(0, 1fr); gap: 20px; } .pool-video-card video { max-height: 440px; } .pool-video-caption { padding: 24px; } }

/* Branded media: clean PNG emblem, subtle controls and full-frame viewing. */
body { background-image: radial-gradient(ellipse at 50% 0, #11343755, transparent 760px); }
.scene-card, .media-card { box-shadow: 0 18px 48px #0003; }
.service-link { min-height: 500px; }
.scene-visual::after { background: linear-gradient(180deg, #06101708 12%, #06101700 34%, #061017aa 60%, #061017f2 82%, #061017fa); }
.media-card::before { background: linear-gradient(180deg, #06101708 12%, #06101700 32%, #061017a3 58%, #061017f7 100%); }
.media-service-link { position: relative; display: flex; align-items: end; width: 100%; height: 100%; min-height: inherit; }
.media-service-link:focus-visible { outline-offset: -4px; border-radius: inherit; }
.photo-brand { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; z-index: 2; pointer-events: none; padding: 6px 10px 6px 5px; border-radius: 12px; background: #06131c99; border: 1px solid #ffffff2b; backdrop-filter: blur(8px); color: #fff; }
.photo-brand .watermark-icon { position: static; display: block; width: 38px; height: 38px; object-fit: contain; z-index: auto; transform: none; filter: none; }
.photo-brand > span { font-size: .8rem; letter-spacing: .1em; font-weight: 300; white-space: nowrap; }
.photo-brand b { font-weight: 750; }
.photo-view { position: absolute; top: 18px; left: 16px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 12px; border: 1px solid #ffffff4a; border-radius: 10px; background: #07131cca; color: #f3ffff; font-size: .8125rem; font-weight: 600; backdrop-filter: blur(8px); }
.photo-view svg { width: 18px; height: 18px; flex-shrink: 0; }
.photo-view:hover { background: #16444c; border-color: var(--aqua); }
.media-caption { padding-top: 160px; }
.media-caption h3 { max-width: 100%; }
.scene-copy, .media-caption { text-shadow: 0 2px 12px #0006; }
.scene-description, .media-caption p { color: #eef5f7; }
.scene-card:hover .watermark-icon, .scene-card:focus-within .watermark-icon { transform: none; }
.photo-dialog { width: min(1180px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; color: var(--text); background: #0a141b; border: 1px solid #49656b; border-radius: 18px; overflow: auto; }
.photo-dialog::backdrop { background: #02090ef2; backdrop-filter: blur(10px); }
.photo-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.photo-dialog-bar h2 { font-size: 1.15rem; font-weight: 550; }
#photo-close { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 8px 13px; color: var(--text); background: #193239; border: 1px solid #4a6971; border-radius: 9px; }
#photo-close > span:last-child { font-size: 1.5rem; line-height: 1; }
.photo-dialog-frame { position: relative; display: flex; justify-content: center; background: #02070a; }
#photo-dialog-image { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 124px); object-fit: contain; }
.photo-dialog-frame .photo-brand { top: auto; bottom: 16px; }
.photo-open { overflow: hidden; }
@media (max-width: 900px) { .service-link { min-height: 470px; } }
@media (max-width: 680px) {
 .service-link { min-height: 475px; }
 .scene-copy { padding: 200px 22px 24px; }
 .photo-brand { right: 12px; top: 12px; gap: 3px; padding-right: 8px; }
 .photo-brand .watermark-icon { width: 32px; height: 32px; }
 .photo-brand > span { font-size: .72rem; }
 .photo-view { left: 12px; top: 12px; padding: 9px; font-size: .75rem; }
 .photo-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
 .photo-dialog-bar { padding: 10px 12px; }
 .photo-dialog-bar h2 { font-size: 1rem; }
 #photo-close > span:first-child { display: none; }
}
@media (forced-colors: active) {
 .photo-view, .photo-brand, #photo-close, .photo-dialog { border: 1px solid ButtonText; }
}

/* Sound control stays clear of the native playback controls. */
.video-player { position: relative; isolation: isolate; background: #06141b; }
.video-sound { position: absolute; z-index: 2; top: 16px; right: 16px; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff55; border-radius: 999px; background: #06141bea; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; box-shadow: 0 4px 18px #0003; }
.video-sound[hidden] { display: none; }
.video-sound:hover, .video-sound:focus-visible { border-color: var(--aqua); background: #12343e; }
.video-sound:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.has-sound .video-sound { color: #a4fff1; border-color: #a4fff1; }
.video-label { position: static; display: block; margin: 12px 16px; }
.pool-video-card { transition: border-color .2s ease, box-shadow .2s ease; }
.pool-video-card:focus-within, .pool-video-card:hover { border-color: #56ddcc88; box-shadow: 0 10px 32px #0002; }
@media (prefers-reduced-motion: reduce) { .pool-video-card { transition: none; } }

/* A gentle camera drift as photographs travel through the viewport. */
.scene-visual > img.photo-motion, .media-service-link > img.photo-motion {
  transform: translate3d(0, var(--photo-y, 0px), 0) scale(var(--photo-scale, 1.06));
  transform-origin: center;
  transition: transform .55s cubic-bezier(.2, .65, .3, 1);
}
.photo-motion.photo-active { will-change: transform; }
.photo-motion.photo-arriving { animation: photo-arrival 1.1s ease-out both; }
@keyframes photo-arrival { from { opacity: .65;  } to { opacity: 1;  } }
@media (prefers-reduced-motion: reduce) {
  .scene-visual > img.photo-motion, .media-service-link > img.photo-motion { transform: none; transition: none; animation: none; will-change: auto; }
}

/* More pronounced cinematic photo motion, including a slow drift while in view. */
.photo-motion.photo-active { animation: photo-living 7s ease-in-out infinite alternate; }
.photo-motion.photo-active.photo-arriving { animation: photo-arrival 1.1s ease-out both, photo-living 7s ease-in-out infinite alternate; }
@keyframes photo-living { from { scale: 1; translate: -1% -.4%; } to { scale: 1.06; translate: 1% .4%; } }
.motion-accent.accent-arrived { animation: accent-entry .85s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes accent-entry { from { opacity: .55; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero { position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; pointer-events: none; inset: -35px 0 -20px; background: radial-gradient(ellipse at 45% 40%, #39d6c719, transparent 65%); border-radius: 50%; }
.hero.accent-visible::before { animation: aqua-light 9s ease-in-out infinite alternate; }
@keyframes aqua-light { from { transform: translateX(-5%) scale(.92); opacity: .45; } to { transform: translateX(5%) scale(1.08); opacity: 1; } }
.button { position: relative; overflow: hidden; box-shadow: 0 5px 24px #80e9dd16; transition: background .25s, transform .25s, box-shadow .25s; }
.button::after { content: ''; position: absolute; pointer-events: none; inset: -80% -50%; background: linear-gradient(110deg, transparent 42%, #ffffff75 50%, transparent 58%); transform: translateX(-80%); }
.button:hover::after, .button:focus-visible::after { animation: button-light .8s ease-out both; }
@keyframes button-light { to { transform: translateX(80%); } }
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 9px 30px #80e9dd30; }
.media-card, .scene-card { transition: border-color .35s, box-shadow .35s; }
.media-card:hover, .media-card:focus-within, .scene-card:hover, .scene-card:focus-within { box-shadow: 0 18px 50px #0006, 0 0 28px #80e9dd1c; }
.service-cta, .media-arrow { transition: color .25s, translate .3s; }
.media-card:hover .media-arrow, .media-card:focus-within .media-arrow { translate: 5px -3px; }
@media (prefers-reduced-motion: reduce) {
  .photo-motion.photo-active, .photo-motion.photo-active.photo-arriving, .motion-accent.accent-arrived, .hero.accent-visible::before, .button:hover::after, .button:focus-visible::after { animation: none; scale: none; translate: none; }
  .button:hover, .button:focus-visible { transform: none; }
  .media-arrow, .service-cta, .scene-card, .media-card { transition: none; translate: none; }
}
.photo-open .photo-motion, .photo-open .hero::before { animation-play-state: paused; }

/* Open photographic framing: copy lives below the image, not over the subject. */
.service-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pool-scene, .deck-scene, .paving-scene, .wall-scene { grid-column: auto; }
.service-link { min-height: 0; justify-content: start; }
.scene-visual { position: relative; inset: auto; height: clamp(360px, 43vw, 510px); background: #071219; }
.scene-visual > img { object-fit: contain; object-position: center; }
.scene-visual::after { background: linear-gradient(180deg, #020b1012, transparent 25%, transparent 85%, #020b1020); }
.scene-copy { padding: 26px 28px 28px; flex: 1; background: linear-gradient(145deg, #15252d, #0b171f); }
.scene-copy h3 { font-size: clamp(1.65rem, 2.5vw, 2.1rem); letter-spacing: -.025em; }
.scene-description { color: #cedde2; }
.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.media-card, .media-card:nth-child(n+4) { display: block; grid-column: auto; min-height: 0; }
.media-service-link { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: hidden; }
.media-service-link > img { position: relative; inset: auto; z-index: auto; height: 420px; object-fit: contain; object-position: center; background: #071219; }
.media-card::before { display: none; }
.media-caption { z-index: 1; min-height: 208px; padding: 24px; background: linear-gradient(145deg, #15252d, #0b171f); }
.media-caption h3 { max-width: 100%; letter-spacing: -.02em; font-size: 1.3rem; }
.media-caption p { color: #c7d9df; }
.media-caption .media-arrow { margin-top: 12px; }
.scene-visual > img.photo-motion, .media-service-link > img.photo-motion { transition-duration: .8s; }
@keyframes photo-living { from { scale: 1; translate: -1.3% -.25%; } to { scale: 1.045; translate: 1.3% .25%; } }
h1 { font-weight: 650; letter-spacing: -.035em; }
h1 > span { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
.typing-title > span { animation: type-line 1.15s steps(24, end) both; }
.typing-title > span:nth-child(2) { animation-delay: 1.2s; animation-duration: 1.3s; }
@keyframes type-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -10px 0 0); } }
.typing-title > span:nth-child(2)::after { content: ''; position: absolute; width: 2px; right: -5px; top: 12%; bottom: 8%; background: var(--aqua); animation: type-cursor .65s step-end 4; }
@keyframes type-cursor { 50% { opacity: 0; } }
.section-heading { gap: 24px; }
.scene-card, .media-card { border-color: #344f5a; }
@media (max-width: 1000px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
 .service-scenes, .media-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .scene-visual { height: 440px; }
 .scene-copy { padding: 24px; }
 .media-service-link > img { height: 410px; }
 .media-caption { min-height: 0; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .typing-title > span, .typing-title > span:nth-child(2)::after { animation: none; clip-path: none; }
 .scene-visual > img.photo-motion, .media-service-link > img.photo-motion { transition: none; }
}

@media (max-width: 680px) { h1 { font-size: clamp(1.8rem, 6.8vw, 2.35rem); } }

/* Each caption belongs to the composition, not to a uniform overlay. */
.photo-stage { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; background: #071219; isolation: isolate; }
.photo-stage > img { display: block; width: 100%; height: 420px; object-fit: contain; object-position: center; }
.photo-stage > img.photo-motion { transform: translate3d(0, var(--photo-y, 0px), 0) scale(var(--photo-scale, 1.06)); transform-origin: center; transition: transform .8s cubic-bezier(.2, .65, .3, 1); }
.photo-caption { z-index: 1; white-space: pre-line; font-weight: 550; font-size: clamp(.88rem, 1.25vw, 1.05rem); line-height: 1.45; letter-spacing: -.015em; color: #fff; pointer-events: none; text-wrap: pretty; }
.caption-top, .caption-bottom { position: absolute; left: 16px; right: 16px; padding: 13px 16px; border-left: 2px solid var(--aqua); border-radius: 0 10px 10px 0; background: #04121bea; box-shadow: 0 5px 18px #0003; }
.caption-top { top: 76px; }
.caption-bottom { bottom: 18px; }
.caption-above { position: relative; order: -1; width: 100%; padding: 78px 22px 20px; background: linear-gradient(140deg, #19313b, #091820); border-bottom: 1px solid #34535d; }
.scene-visual.caption-placement-above { display: flex; flex-direction: column; height: auto; }
.scene-visual.caption-placement-above > img { height: clamp(360px, 43vw, 510px); flex: none; }
.scene-visual.caption-placement-above::after { display: none; }
.photo-stage.caption-placement-above > img { position: relative; z-index: 0; }
.caption-placement-above .caption-above { z-index: 2; }
.media-card .photo-caption { font-size: .92rem; }
.media-piscina-panoramica .caption-top { right: 28px; }
.media-piscina-reflexos .caption-top, .media-piscina-entardecer .caption-top { background: #061426ef; border-left-color: #9eefff; }
@media (max-width: 680px) {
 .photo-stage > img { height: 410px; }
 .scene-visual.caption-placement-above > img { height: 440px; }
 .photo-caption, .media-card .photo-caption { font-size: .95rem; }
 .caption-top, .caption-bottom { left: 12px; right: 12px; }
 .caption-above { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { .photo-stage > img.photo-motion { transform: none; transition: none; animation: none; scale: none; translate: none; } }
.viewer-caption { padding: 16px 22px; color: #d6eef0; background: #10232c; border-bottom: 1px solid #34535d; white-space: pre-line; font-size: 1rem; line-height: 1.5; }
#photo-dialog-image { max-height: calc(100dvh - 220px); }
@media (max-width: 680px) { .viewer-caption { padding: 14px 16px; font-size: .95rem; } }

/* Crisp, background-free lettering anchored inside each photograph. */
.photo-stage { aspect-ratio: var(--photo-ratio); display: block; }
.photo-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-visual { height: auto; aspect-ratio: 3 / 4; }
.scene-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-visual::after { display: none; }
.photo-caption { position: absolute; inset: auto; left: 7%; top: 26%; width: 74%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; z-index: 2; white-space: normal; }
.photo-caption strong { display: block; width: fit-content; max-width: 100%; background: none; color: #fff; padding: 0; font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.photo-caption > span { display: block; width: fit-content; max-width: 100%; margin-top: 9px; padding: 0; background: none; color: #fff; font-size: clamp(.8rem, 1.1vw, .96rem); font-weight: 600; line-height: 1.45; letter-spacing: .005em; }
.media-card .photo-caption strong { font-size: clamp(1.05rem, 1.65vw, 1.45rem); }
.media-card .photo-caption > span { font-size: .8rem; }
.pool-scene .photo-caption { top: 21%; left: 7%; width: 72%; }
.deck-scene .photo-caption { top: auto; bottom: 9%; left: 7%; width: 72%; }
.paving-scene .photo-caption { top: 18%; left: 9%; width: 72%; }
.wall-scene .photo-caption { top: 19%; left: 7%; width: 70%; }
.deck-scene .scene-visual { aspect-ratio: 9 / 16; }
.paving-scene .scene-visual { aspect-ratio: 9 / 16; }
.media-piscina-dia .photo-caption { top: 24%; left: 5%; width: 60%; }
.media-piscina-jardim .photo-caption { top: 20%; left: 7%; width: 76%; }
.media-madeira-em-cuidado .photo-caption { top: 10%; left: 7%; width: 77%; }
.media-pergola-piscina .photo-caption { top: 19%; left: 7%; width: 76%; }
.media-piscina-panoramica .photo-caption { top: 21%; left: 7%; width: 78%; }
.media-condominio-mar .photo-caption, .media-vista-algarve .photo-caption { top: auto; bottom: 6%; left: 5%; width: 60%; }
.media-piscina-aerea .photo-caption { top: auto; bottom: 6%; left: 5%; width: 54%; }
.media-piscina-noite .photo-caption { top: 18%; width: 78%; }
.media-piscina-reflexos .photo-caption, .media-piscina-entardecer .photo-caption { top: 23%; width: 78%; }
.media-piscina-iluminada .photo-caption { top: auto; bottom: 8%; left: 8%; width: 74%; }
.caption-writing strong { animation: caption-ink .85s steps(18, end) both; }
.caption-writing > span { animation: caption-ink .9s steps(24, end) .7s both; }
@keyframes caption-ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.media-caption { min-height: 0; padding: 20px 24px; background: #0a141b; }
.media-caption p { display: none; }
.media-caption h3 { font-size: 1.1rem; font-weight: 550; color: #bed3da; }
.media-caption .media-arrow { margin-top: 6px; }
.scene-copy { background: #0a141b; padding: 24px; }
.scene-description { font-size: .95rem; }
.viewer-caption { background: transparent; border: 0; }
@media (max-width: 680px) {
 .media-grid { grid-template-columns: minmax(0, 1fr); }
 .scene-visual { height: auto; }
 .photo-stage > img { height: 100%; }
 .photo-caption strong, .media-card .photo-caption strong { font-size: clamp(1.15rem, 5vw, 1.55rem); }
 .photo-caption > span, .media-card .photo-caption > span { font-size: .85rem; }
 .media-piscina-dia .photo-caption { top: 29%; width: 67%; }
 .media-condominio-mar .photo-caption, .media-vista-algarve .photo-caption, .media-piscina-aerea .photo-caption { width: 64%; }
}
@media (prefers-reduced-motion: reduce) { .caption-writing strong, .caption-writing > span { animation: none; clip-path: none; } }
/* On narrow landscape frames, the headline takes priority; full detail remains in the viewer. */
@media (max-width: 680px) {
 .media-piscina-dia .photo-caption > span, .media-condominio-mar .photo-caption > span, .media-piscina-aerea .photo-caption > span, .media-vista-algarve .photo-caption > span { display: none; }
 .media-piscina-dia .photo-caption strong, .media-condominio-mar .photo-caption strong, .media-piscina-aerea .photo-caption strong, .media-vista-algarve .photo-caption strong { font-size: 1.1rem; }
 .media-piscina-dia .photo-caption { top: auto; bottom: 8%; left: 5%; }
}

/* A fine edge preserves readable lettering without covering image pixels. */
.photo-caption, .photo-caption strong, .photo-caption > span { background: none; border: 0; box-shadow: none; }
.photo-caption strong { letter-spacing: -.025em; line-height: 1.15; -webkit-text-stroke: .45px #07101799; text-shadow: 0 1px 1px #000b, 0 2px 7px #0007; }
.photo-caption > span { -webkit-text-stroke: .25px #07101788; text-shadow: 0 1px 2px #000e, 0 2px 6px #0007; }
.photo-caption strong, .photo-caption > span { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.scene-copy h3, .media-caption h3 { text-wrap: balance; }
@media (forced-colors: active) { .photo-caption strong, .photo-caption > span { -webkit-text-stroke: 0; text-shadow: none; color: CanvasText; } }

/* Transparent controls and a larger photographic canvas. */
.container { width: min(1280px, calc(100% - 56px)); }
.photo-view, .photo-view:hover, .photo-view:focus-visible { background: none; border-color: transparent; box-shadow: none; backdrop-filter: none; color: #fff; }
.photo-view { font-weight: 650; text-shadow: 0 1px 2px #000, 0 2px 5px #0009; }
.photo-open-icon { width: 22px; height: 22px; object-fit: contain; flex: none; filter: drop-shadow(0 1px 2px #000b); }
.photo-brand { padding: 0; background: none; border: 0; backdrop-filter: none; box-shadow: none; text-shadow: 0 1px 2px #000d, 0 2px 5px #0008; }
.photo-brand .watermark-icon { filter: drop-shadow(0 1px 2px #0007); }
.photo-caption strong { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.media-card .photo-caption strong { font-size: clamp(1.15rem, 1.9vw, 1.65rem); }
.photo-caption > span, .media-card .photo-caption > span { font-size: .94rem; }
.brand-logo { mask-image: none; -webkit-mask-image: none; }
@media (max-width: 680px) {
 .container { width: calc(100% - 24px); }
 .photo-caption strong, .media-card .photo-caption strong { font-size: clamp(1.2rem, 5.2vw, 1.7rem); }
 .photo-caption > span, .media-card .photo-caption > span { font-size: .88rem; }
 .media-piscina-dia .photo-caption strong, .media-condominio-mar .photo-caption strong, .media-piscina-aerea .photo-caption strong, .media-vista-algarve .photo-caption strong { font-size: 1.16rem; }
}
@media (forced-colors: active) { .photo-view { border-color: ButtonText; } }

/* A more visible zoom, with a manual pause for comfortable reading. */
@keyframes photo-living { from { scale: 1; translate: -1.3% -.25%; } to { scale: 1.12; translate: 1.3% .25%; } }
.pool-scene .photo-motion { transform-origin: 68% 52%; }
.media-piscina-aerea .photo-motion { transform-origin: 52% 55%; }
.motion-toggle { flex: none; min-height: 44px; padding: 9px 13px; border: 1px solid #52757d; border-radius: 9px; background: transparent; color: #d7eeef; font-size: .85rem; }
.motion-toggle:hover, .motion-toggle:focus-visible { border-color: var(--aqua); color: #fff; }
.motion-paused .photo-motion.photo-active, .motion-paused .photo-motion.photo-active.photo-arriving, .motion-paused .hero::before { animation-play-state: paused; }
.motion-paused .scene-visual > img.photo-motion, .motion-paused .photo-stage > img.photo-motion { transform: none; transition: none; }
.motion-paused .caption-writing strong, .motion-paused .caption-writing > span, .motion-paused .typing-title > span, .motion-paused .typing-title > span::after, .motion-paused .motion-accent { animation: none; clip-path: none; }
@media (max-width: 900px) { .media-section > .section-heading { flex-wrap: wrap; } }
.motion-paused .scene-visual > img.photo-motion, .motion-paused .photo-stage > img.photo-motion { scale: none; translate: none; }
.scene-card:hover .photo-open-icon, .scene-card:focus-within .photo-open-icon { transform: none; }
.motion-paused .photo-motion.photo-active { animation: none; scale: none; translate: none; }
