@charset "UTF-8";
:root{--ink:#2B3B4D;--rose:#C0918B;--paper:#ECE4D9;--line:#2B3B4D30;--sand:#ECE4D9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);background:var(--paper);font-family:Glacial,'Century Gothic',sans-serif;font-size:18px;line-height:1.5}a{color:inherit;text-decoration:none}button,summary{cursor:pointer}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--rose);outline-offset:5px}.skip{position:fixed;top:-100px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}header{display:flex;align-items:center;justify-content:space-between;padding:24px 5.5%;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:15px}.brand img{width:48px;height:62px;object-fit:contain}.brand span{font-size:28px;font-weight:700;letter-spacing:.2em}.brand small{display:block;font-size:8px;letter-spacing:.17em}nav{display:flex;gap:32px;font-size:15px}nav a:last-child{border-bottom:1px solid var(--rose);padding-bottom:5px}.hero{padding:58px 5.5% 0;display:grid;grid-template-columns:1fr 1fr;gap:36px 5vw;position:relative}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:700;margin:0 0 26px}h1,h2,h3,p,figure{margin:0}h1{font-size:clamp(54px,6.2vw,100px);line-height:.99;font-weight:400;letter-spacing:-.055em}h1 span,h2 span{color:var(--rose)}.hero-copy>p:not(.eyebrow){max-width:440px;margin:28px 0;font-size:17px}.text-link{display:flex;max-width:270px;justify-content:space-between;border-bottom:1px solid var(--ink);padding:12px 0;font-size:16px}.hero-image{position:relative;align-self:start}.hero-image>img{width:100%;height:540px;object-fit:cover;border-radius:48% 48% 0 0;display:block}.hero-image figcaption{display:flex;justify-content:space-between;padding-top:13px;font-size:11px;letter-spacing:.07em}.hero-bottom{grid-column:1/-1;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:20px 0 23px;font-size:10px;letter-spacing:.14em}.section{padding:85px 5.5%}h2{font-size:clamp(36px,4vw,62px);font-weight:400;line-height:1.08;letter-spacing:-.035em}.about{display:grid;grid-template-columns:1fr 1fr;gap:6vw}.about-body>p{font-size:18px;max-width:560px}.story{margin-top:28px;border-top:1px solid var(--line)}summary{list-style:none;display:flex;justify-content:space-between;padding:20px 0;font-size:16px}summary::-webkit-details-marker{display:none}details[open] summary span{transform:rotate(45deg)}.memory{display:grid;grid-template-columns:120px 1fr;gap:22px;padding-bottom:20px}.memory img{width:100%;border-radius:70px 70px 0 0}.memory blockquote{margin:0 0 18px;font-size:16px}.memory small{font-size:12px}.memory p{font-size:15px}.projects{background:var(--sand)}.section-title{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:45px}.section-title>p{font-size:16px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px 34px}.project{border:0;padding:0;background:transparent;text-align:left;color:var(--ink)}.project .picture{overflow:hidden;display:block;position:relative}.project img{width:100%;height:360px;object-fit:cover;display:block;transition:transform .5s}.project:hover img{transform:scale(1.025)}.project:first-child img{border-radius:160px 0 0 0}.project:last-child{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:55px}.project:last-child img{height:420px;border-radius:0 0 180px 0}.project-info{display:block;padding-top:16px}.project-top{display:flex;justify-content:space-between;gap:20px;font-size:27px;line-height:1.2}.project-index{font-size:12px;color:#2B3B4D;margin-right:10px}.project-meta{display:block;margin-top:10px;font-size:14px}.project:last-child .project-top{font-size:45px}.gallery-link{display:block;margin-top:18px;font-size:13px;text-decoration:underline;text-underline-offset:5px}.services{background:var(--ink);color:var(--paper)}.service-symbol{width:90px;height:110px;object-fit:contain}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.service-grid article{border-top:1px solid #ffffff40;padding-top:20px}.service-number{color:var(--rose);font-size:12px}h3{font-size:31px;font-weight:400;margin:18px 0}.service-grid p{font-size:17px;min-height:85px;max-width:300px}.service-grid ul{padding:0;list-style:none;font-size:15px;line-height:2}.differences{border-top:1px solid #ffffff40;margin-top:30px}.differences ul{columns:2;gap:35px;padding-left:20px;font-size:16px}.quote{text-align:center;padding-top:65px;padding-bottom:65px;max-width:950px;margin:auto}.quote blockquote{font-size:24px;line-height:1.4;margin:0 0 24px}.quote p{font-size:10px;letter-spacing:.12em}.quote span{display:block;margin-top:5px;letter-spacing:0}.contact{background:#C0918B}.contact h2 span{color:var(--ink)}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:5vw}.contact-links a{display:block;padding:16px 0;border-bottom:1px solid var(--line)}.contact-links a:first-child{padding-top:0}.contact-links small{display:block;font-size:10px;letter-spacing:.14em;margin-bottom:7px}.contact-links span{font-size:clamp(15px,1.65vw,24px);overflow-wrap:anywhere}footer{display:flex;justify-content:space-between;padding:28px 5.5%;font-size:10px;letter-spacing:.1em}dialog{background:var(--paper);border:0;color:var(--ink);width:min(1000px,95vw);max-height:94dvh;padding:25px}dialog::backdrop{background:#172b38dd}body:has(dialog[open]){overflow:hidden}.gallery-top{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:15px}.gallery-top h2{font-size:28px}.gallery-top p{font-size:13px;margin-top:6px}dialog button{background:transparent;border:1px solid var(--line);padding:8px 13px;font-size:14px;color:inherit}dialog figure>img{display:block;width:100%;height:60dvh;object-fit:contain;background:#ECE4D9}dialog figcaption{font-size:14px;margin:10px 0}.gallery-controls{display:flex;justify-content:space-between;align-items:center;font-size:13px}@media(min-width:1500px){body{max-width:1800px;margin:auto}.hero-image>img{height:650px}}@media(max-width:760px){header{padding:18px 6%;flex-wrap:wrap;gap:20px}.brand span{font-size:23px}.brand img{width:35px;height:45px}nav{gap:20px;width:100%;justify-content:space-between;font-size:12px}.hero{padding:35px 6% 0;grid-template-columns:1fr;gap:30px}h1{font-size:clamp(55px,13vw,85px)}.eyebrow{font-size:10px;margin-bottom:20px}.hero-copy>p:not(.eyebrow){font-size:16px;max-width:100%}.hero-image>img{height:440px;max-height:110vw}.hero-bottom{font-size:8px;gap:20px}.section{padding:55px 6%}.about,.contact-layout{grid-template-columns:1fr;gap:28px}.about-body>p{font-size:17px}.section-title{align-items:start;flex-direction:column;gap:18px;margin-bottom:30px}.project-grid{gap:32px;grid-template-columns:1fr}.project img{height:340px}.project:first-child img{border-radius:100px 0 0 0}.project:last-child{display:block;grid-column:auto}.project:last-child img{height:340px;border-radius:0 0 100px 0}.project:last-child .project-top{font-size:27px}.project-top{font-size:27px}.service-grid{grid-template-columns:1fr;gap:25px}.service-grid p{min-height:0;max-width:100%}.service-grid ul{margin-bottom:0}.service-symbol{display:none}.differences ul{columns:1}.quote blockquote{font-size:21px}.contact-links span{font-size:18px}footer{gap:22px;font-size:8px}.memory{grid-template-columns:85px 1fr;gap:15px}dialog{padding:18px}dialog figure>img{height:55dvh}.gallery-top h2{font-size:23px}.gallery-top button{font-size:12px}.gallery-controls button{font-size:12px;padding:8px}.gallery-top{gap:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project img{transition:none}}

/* Manual de identidade Madá: cores e aplicações originais. */
header{display:grid;grid-template-columns:70px 1fr 250px;gap:30px;align-items:center}
.brand img{width:55px;height:76px}.brand-full{display:block}.brand-full img{display:block;width:100%;height:auto}
nav{justify-content:center;gap:30px;font-size:19px}
.hero-image>img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:0}
.hero-image{align-self:center}.hero-image figcaption{gap:15px;flex-wrap:wrap}
.memory{grid-template-columns:minmax(180px,240px) 1fr;gap:26px}.memory img{width:100%;aspect-ratio:1;height:auto;object-fit:cover;object-position:center 35%;border-radius:0}
.project img,.project:first-child img,.project:last-child img{height:auto;aspect-ratio:1;object-fit:contain;border-radius:0}
.project:hover img{transform:none}.project-index{font-size:26px;color:var(--rose);margin-right:14px;font-weight:700}
.service-number{display:block;font-size:32px;line-height:1.2;font-weight:700}
.differences ul{columns:auto;display:grid;grid-template-columns:1fr 1fr;gap:26px 40px;padding:15px 0;list-style:none}
.differences li{display:flex;align-items:center;gap:18px}.differences svg{width:36px;height:36px;flex:0 0 36px;color:var(--rose)}
@media(max-width:1100px){header{grid-template-columns:60px 1fr 210px;gap:20px}nav{gap:20px;font-size:18px}.memory{grid-template-columns:1fr}.memory img{max-width:300px}}
@media(max-width:760px){header{grid-template-columns:1fr 1fr;gap:22px;padding:22px 6%}.brand img{width:43px;height:60px}.brand-full{grid-column:2;grid-row:1;width:min(100%,210px);justify-self:end}nav{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:space-between;width:100%;gap:14px 20px;font-size:17px}.hero-image>img{height:auto;max-height:none}.project-index{font-size:25px}.memory{grid-template-columns:1fr}.memory img{width:min(100%,300px);max-width:none}.differences ul{grid-template-columns:1fr}.project:last-child img{height:auto}.contact-links span{font-size:17px}}

/* Revisão: enquadramentos orgânicos e contato com rosa suave. */
.hero-image>img{border-radius:46% 46% 0 0}
.project:first-child img{border-radius:26% 0 0 0}
.project:nth-child(2) img{border-radius:0 26% 0 0}
.project:nth-child(3) img{border-radius:0 0 0 26%}
.project:nth-child(4) img{border-radius:26% 26% 0 0}
.project:last-child img{border-radius:0 0 26% 0}
.contact{background:linear-gradient(#C0918B22,#C0918B22),#ECE4D9}

.project:nth-child(5) img{border-radius:0 26% 0 0}.project:nth-child(6) img{border-radius:0 0 26% 0}

/* Enquadramentos finais: arco semicircular e grade uniforme. */
.hero-image>img{border-radius:50% 50% 0 0 / 50% 50% 0 0;aspect-ratio:1;object-fit:cover}
.memory img{aspect-ratio:1;object-fit:contain;object-position:center;border-radius:0}
.project:last-child{grid-column:auto;display:block;align-items:normal}
.project:last-child .project-top{font-size:27px}
.project img,.project:nth-child(n) img{border-radius:0}
.project:first-child img{border-top-left-radius:26%}
.project:last-child img{border-bottom-right-radius:26%}

.accent-a{position:relative;display:inline-block;font:inherit}.accent-a::after{content:"";position:absolute;width:.19em;height:.19em;border-top:.045em solid currentColor;border-left:.045em solid currentColor;transform:rotate(45deg);top:.06em;left:50%;margin-left:-.095em}.service-grid ul{list-style:disc;padding-left:20px}.service-grid li::marker{color:var(--rose)}footer .cnpj{display:block;margin-top:7px;font-size:10px;letter-spacing:.04em}footer{align-items:center}

.hero-copy>p:not(.eyebrow),.about-body>p,.memory blockquote{text-align:justify;hyphens:auto}
@media(max-width:760px){
 header{grid-template-columns:50px 1fr;column-gap:50px}
 .brand-full{width:min(100%,170px);justify-self:end}
 nav{flex-wrap:nowrap;gap:10px;justify-content:space-between;font-size:clamp(10px,3.15vw,14px)}
 nav a{white-space:nowrap}
}

.care-mobile{display:none}
@media(max-width:760px){
 .care-desktop{display:none}
 .care-mobile{display:inline-block;white-space:nowrap}
 .memory img{display:block;width:100%;max-width:none;aspect-ratio:1;height:auto;object-fit:contain}
}

.memory-photo{margin:0;min-width:0}
.memory-photo figcaption{text-align:center;font-family:inherit;font-size:12px;line-height:1.5;margin-top:6px}
.memory{align-items:start;padding-bottom:0}
.about{padding-bottom:45px}
@media(max-width:760px){.about{padding-bottom:28px}.projects{padding-top:36px}}

/* Revisão exclusiva de telas maiores; celular aprovado preservado. */
@media(min-width:761px){
 .care-desktop{display:none}
 .care-mobile{display:inline-block;white-space:nowrap}
 .about{grid-template-columns:.9fr 1.1fr;gap:5vw}
 .about h2{font-size:clamp(36px,3.35vw,48px)}
 .about-body>p{max-width:none}
 .memory{grid-template-columns:minmax(200px,240px) 1fr;gap:24px}
 .memory img{display:block;width:100%;max-width:none}
 .memory blockquote{font-size:17px;line-height:1.55}
 .project-top,.project:last-child .project-top{font-size:clamp(22px,1.9vw,27px)}
 .project-top{gap:16px}
 .projects{padding-top:60px}
 .service-grid p{min-height:90px}
}
@media(min-width:761px) and (max-width:1100px){
 header{grid-template-columns:50px 1fr 180px;gap:20px}
 nav{font-size:16px;gap:18px;white-space:nowrap}
 .about{grid-template-columns:1fr;gap:32px}
 .memory{grid-template-columns:240px 1fr}
 .contact-layout{grid-template-columns:1fr 1.2fr}
}

@font-face{font-family:GlacialAbout;src:url("assets/font-538.ttf");font-weight:400;font-display:swap}
@media(min-width:761px){
 nav{column-gap:clamp(18px,3.2vw,52px)}
 .about-body>p{font-family:GlacialAbout,Glacial,sans-serif}
}
