/* ── Variáveis — tema pintura/criativo ─────── */
:root {
  --dark:       #18181B;
  --dark-mid:   #27272A;
  --accent:     #16A34A;
  --accent-dim: rgba(22,163,74,0.12);
  --accent2:    #4ADE80;
  --bg:         #FAFAFA;
  --tint:       #F4F4F5;
  --surface:    #FFFFFF;
  --muted:      #71717A;
  --line:       rgba(24,24,27,0.1);
  --sh-sm:      0 4px 14px rgba(24,24,27,0.07);
  --sh:         0 12px 36px rgba(24,24,27,0.11);
  --sh-lg:      0 24px 64px rgba(24,24,27,0.16);
  --r:          10px;
  --max:        1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', 'Segoe UI', sans-serif; background: var(--bg); color: var(--dark); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

#scroll-bar { position: fixed; top: 0; left: 0; z-index: 1000; height: 3px; width: 0%; background: linear-gradient(90deg, var(--dark), var(--accent)); transition: width 0.06s linear; pointer-events: none; }

.fab { position: fixed; bottom: 28px; right: 28px; z-index: 500; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: #25D366; color: #fff; border-radius: 50px; font-weight: 700; font-size: 0.88rem; box-shadow: 0 8px 28px rgba(37,211,102,0.45); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37,211,102,0.55); }
.fab svg { flex-shrink: 0; width: 20px; height: 20px; }

.pal-trigger { position: fixed; bottom: 28px; left: 28px; z-index: 505; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--dark); color: var(--accent2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--accent), 0 12px 34px rgba(24,24,27,0.28); transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease; }
.pal-trigger:hover { transform: translateY(-3px) rotate(-10deg); background: var(--dark-mid); box-shadow: 0 0 0 3px var(--accent), 0 16px 42px rgba(24,24,27,0.34); }
.pal-trigger svg { width: 25px; height: 25px; }
.pal-backdrop { position: fixed; inset: 0; z-index: 990; background: rgba(24,24,27,0.48); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.pal-backdrop.open { opacity: 1; pointer-events: auto; }
.pal-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 991; width: 370px; max-width: 100vw; background: #111114; color: #fff; box-shadow: -24px 0 70px rgba(0,0,0,0.38); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; }
.pal-panel.open { transform: translateX(0); }
.pal-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px 26px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pal-panel-title { display: block; color: #fff; font-size: 1.08rem; font-weight: 900; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.05em; }
.pal-panel-sub { display: block; margin-top: 7px; color: rgba(255,255,255,0.38); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.pal-panel-close { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.pal-panel-close:hover { transform: rotate(90deg); background: var(--accent); color: #fff; }
.pal-panel-body { flex: 1; overflow-y: auto; padding: 24px; }
.pal-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pal-chip { min-height: 72px; padding: 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.035); color: rgba(255,255,255,0.68); cursor: pointer; display: flex; align-items: center; gap: 11px; text-align: left; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.pal-chip:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.22); }
.pal-chip.active { border-color: var(--swatch-accent); background: rgba(255,255,255,0.07); box-shadow: 0 0 0 1px var(--swatch-accent), 0 12px 28px rgba(0,0,0,0.28); color: #fff; }
.pal-swatch { position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 210deg, var(--swatch-dark), var(--swatch-accent), var(--swatch-accent2), var(--swatch-dark)); box-shadow: inset 0 0 0 3px rgba(0,0,0,0.24); }
.pal-chip.active .pal-swatch::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,0.38); color: #fff; font-size: 0.72rem; font-weight: 900; }
.pal-chip-name { font-size: 0.76rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.pal-panel-foot { padding: 18px 26px 28px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.32); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }

[data-animate] { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ── Header ────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(18px,5vw,64px); background: rgba(250,250,250,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); transition: padding 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { padding-block: 10px; box-shadow: var(--sh); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.main-nav { display: flex; align-items: center; gap: clamp(10px,2vw,26px); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.main-nav a { color: var(--muted); transition: color 0.2s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--accent); }
.nav-cta { padding: 10px 18px !important; background: var(--dark); color: #fff !important; border-radius: var(--r); transition: background 0.2s !important; }
.nav-cta:hover { background: var(--accent) !important; }
.menu-toggle { display: none; flex: 0 0 auto; width: 44px; height: 44px; padding: 8px; background: transparent; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--dark); margin-bottom: 5px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-toggle span:last-child { margin-bottom: 0; }
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ──────────────────────────────────── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s ease; }
.hero:hover .hero__bg img { transform: scale(1); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(24,24,27,0.9) 32%, rgba(24,24,27,0.5) 100%); }
.hero__content { position: relative; z-index: 1; width: min(100%, var(--max)); margin-inline: auto; padding: clamp(64px,10vh,120px) clamp(18px,5vw,64px); color: #fff; }
.eyebrow { display: inline-block; padding: 6px 14px; margin-bottom: 18px; background: var(--accent-dim); border: 1px solid rgba(22,163,74,0.3); border-radius: 4px; color: var(--accent2); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; }
h1, h2, h3 { font-family: 'Nunito', sans-serif; font-weight: 800; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem,5.5vw,5rem); max-width: 820px; margin-bottom: 22px; }
.hero__content > p { max-width: 580px; font-size: 1.12rem; color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.button, .whatsapp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border: 1.5px solid transparent; border-radius: 50px; font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; cursor: pointer; }
.button:hover, .whatsapp-button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(22,163,74,0.3); }
.button--primary:hover { box-shadow: 0 14px 36px rgba(22,163,74,0.5); }
.button--secondary { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: 50px; }
.button--secondary:hover { background: rgba(255,255,255,0.2); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.trust-list li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 50px; font-size: 0.88rem; color: rgba(255,255,255,0.9); }
.trust-list li::before { content: '✓'; color: var(--accent2); font-weight: 800; }

/* ── Stats strip ───────────────────────────── */
.stats-strip { background: var(--dark); padding: 0 clamp(18px,5vw,64px); }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); max-width: var(--max); margin-inline: auto; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat:last-child { border-right: none; }
.stat strong { font-family: 'Nunito',sans-serif; font-size: clamp(1.9rem,3vw,2.6rem); font-weight: 800; color: var(--accent2); line-height: 1; }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Secções ───────────────────────────────── */
.section { padding: 90px clamp(18px,5vw,64px); }
.section__header, .service-grid, .about-section, .advantage-grid, .gallery-grid, .process-list, .testimonial-grid, .quote-section, .contacts-section { width: min(100%, var(--max)); margin-inline: auto; }
.section__header { margin-bottom: 48px; }
.section__header h2 { font-size: clamp(1.8rem,3vw,3rem); margin-bottom: 16px; }
.section__header p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.02rem; }
.service-overview, .gallery-section, .testimonials { background: var(--tint); }

/* ── Serviços ──────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.service-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card div { padding: 24px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.93rem; }
.service-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding-block: 10px; margin-inline: -2px; padding-inline: 2px; min-height: 44px; box-sizing: border-box; color: var(--accent); font-weight: 800; font-size: 0.88rem; transition: gap 0.2s; }
.service-card a::after { content: '→'; }
.service-card a:hover { gap: 12px; }

/* ── Sobre ─────────────────────────────────── */
.about-section { display: grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items: start; }
.about-copy h2 { font-size: clamp(1.7rem,3vw,2.8rem); margin-bottom: 20px; }
.about-copy p { color: var(--muted); margin-bottom: 14px; font-size: 1.02rem; }
.about-panel { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); border-top: 4px solid var(--accent); }
.about-panel strong { display: block; margin-bottom: 20px; font-size: 1.15rem; font-weight: 800; }
.about-panel ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.about-panel li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 0.97rem; }
.about-panel li::before { content: '✓'; flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); color: var(--accent); border-radius: 50%; font-size: 0.72rem; font-weight: 800; margin-top: 1px; }

/* ── Vantagens ─────────────────────────────── */
.advantage-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.advantage-grid article { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.advantage-grid article:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.advantage-grid span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; background: var(--accent-dim); color: var(--accent); border-radius: 50%; font-weight: 800; font-size: 0.85rem; }
.advantage-grid h3 { font-size: 1.06rem; margin-bottom: 8px; }
.advantage-grid p { color: var(--muted); font-size: 0.88rem; }

/* ── Galeria — grelha 6 imagens ────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 16px; box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption { padding: 12px 16px; background: var(--surface); font-weight: 700; font-size: 0.88rem; color: var(--muted); }

/* ── Processo ──────────────────────────────── */
.process-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 16px; }
.process-list article { padding: 30px; background: var(--surface); transition: background 0.22s; }
.process-list article:hover { background: var(--tint); }
.process-list span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 20px; background: var(--accent); color: #fff; border-radius: 50%; font-weight: 800; font-size: 1.15rem; }
.process-list h3 { font-size: 1.08rem; margin-bottom: 10px; }
.process-list p { color: var(--muted); font-size: 0.92rem; }

/* ── Testemunhos ───────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
blockquote { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); border-top: 3px solid var(--accent); transition: transform 0.22s ease; }
blockquote:hover { transform: translateY(-4px); }
blockquote p { color: var(--dark); font-size: 0.98rem; line-height: 1.7; margin-bottom: 18px; }
blockquote cite { color: var(--muted); font-style: normal; font-weight: 700; font-size: 0.87rem; }

/* ── Orçamento ─────────────────────────────── */
.quote-section { background: var(--dark); color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.quote-copy h2 { font-size: clamp(1.7rem,3vw,2.8rem); margin-bottom: 18px; color: #fff; }
.quote-copy p { color: rgba(255,255,255,0.72); font-size: 1rem; }
.whatsapp-button { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 24px; background: #25D366; color: #fff; border-radius: 50px; font-weight: 800; box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.whatsapp-button:hover { box-shadow: 0 14px 36px rgba(37,211,102,0.5); }
.quote-form { display: grid; gap: 16px; padding: 32px; background: var(--surface); border-radius: 16px; color: var(--dark); }
.quote-form label { display: grid; gap: 7px; font-weight: 700; font-size: 0.9rem; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 15px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r); color: var(--dark); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(22,163,74,0.12); }
.form-status { min-height: 22px; color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ── Contactos ─────────────────────────────── */
.contacts-section { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.contact-card, .contact-cta { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); }
.contact-card h2, .contact-cta h2 { font-size: clamp(1.3rem,2.5vw,1.9rem); margin-bottom: 20px; }
.contact-card p { margin-bottom: 10px; color: var(--muted); }
.contact-card strong { color: var(--dark); }
.contact-cta p { color: var(--muted); margin-bottom: 24px; }

/* ── Footer ────────────────────────────────── */
.site-footer { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 32px; padding: 52px clamp(18px,5vw,64px); background: var(--dark); color: rgba(255,255,255,0.7); }
.site-footer strong { display: block; margin-bottom: 14px; color: #fff; font-weight: 800; }
.site-footer a, .site-footer p { display: block; margin-bottom: 8px; font-size: 0.9rem; }
.site-footer a { padding-block: 10px; margin-block: -10px -2px; }
.site-footer a:hover { color: var(--accent2); }
.copyright { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1040px) {
  .about-section, .quote-section, .contacts-section { grid-template-columns: 1fr; }
  .service-grid, .advantage-grid, .testimonial-grid, .site-footer { grid-template-columns: repeat(2,1fr); }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .process-list { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .site-header { padding: 12px 18px; }
  .main-nav { position: absolute; top: calc(100% + 4px); left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-cta { text-align: center; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; }
  .hero { min-height: 76vh; }
  .hero__content { padding-block: 64px; }
  .hero__actions { flex-direction: column; }
  .button, .whatsapp-button { width: 100%; justify-content: center; }
  .stats-inner, .service-grid, .advantage-grid, .gallery-grid, .process-list, .testimonial-grid, .site-footer { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:last-child { border-bottom: none; }
  .section { padding-block: 64px; }
  .fab span { display: none; }
  .fab { padding: 16px; border-radius: 50%; }
  .pal-trigger { left: 18px; bottom: 22px; width: 52px; height: 52px; }
  .pal-panel { width: 100vw; }
}
