/* DigitAgrela v2: blocos inspirados em bibliotecas de componentes (navbar, hero, bento, timeline, planos, FAQ, CTA, rodapé). */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --tint: #F3EDE3;
  --ink: #1F1B18;
  --muted: #655D55;
  --border: #E6DFD4;
  --brand: #C1502E;
  --brand-dark: #A8431F;
  --olive: #5E6E43;
  --dark: #211D1A;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(33,29,26,.04), 0 8px 24px -12px rgba(33,29,26,.12);
  --font: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  /* nomes antigos, usados pelo ecrã de login (partials/base.html.twig) */
  --color-accent: var(--brand);
  --font-body: var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.accent { color: var(--brand); }

/* ---------- Navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251,248,243,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.wordmark span { color: var(--brand); }
.site-footer .wordmark span { color: #F2A98C; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--dark); color: #fff; font-size: 13px; letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav > li > a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); transition: background .15s, color .15s; }
.site-nav > li > a:hover { background: var(--tint); color: var(--ink); }
.site-nav > li > a.active { background: var(--tint); color: var(--ink); font-weight: 600; }
.has-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.dropdown-menu a:hover { background: var(--tint); }
.lang-switcher { display: flex; gap: 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lang-flag { text-decoration: none; padding: 6px 8px; border-radius: 8px; color: var(--muted); }
.lang-flag.active { background: var(--tint); color: var(--ink); }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Botões ---------- */
.btn-cta, .btn-ghost, .btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1;
  padding: 17px 28px; border-radius: 999px; border: 1px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s; box-shadow: 0 6px 18px -8px rgba(193,80,46,.7);
}
.btn-cta:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); color: #fff; }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; opacity: .9; }
.btn-ghost:hover { opacity: 1; background: rgba(255,255,255,.1); }
.btn-whatsapp { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: none; }
.btn-whatsapp:hover { border-color: var(--ink); }
.btn-whatsapp-icon { display: none; }

.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 600; color: var(--muted); }
.pill-accent { background: #F6E2D9; color: var(--brand-dark); margin-bottom: 22px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-dark); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: #1FA855; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 10px 28px -8px rgba(31,168,85,.6); transition: transform .15s; }
.wa-float:hover { transform: translateY(-2px); color: #fff; }

/* ---------- Hero ---------- */
.hero, .page-hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before, .page-hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(193,80,46,.12), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; position: relative; }
.hero h1, .page-hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.035em; line-height: 1.02; }
.page-hero .container:not(.hero-grid) h1 { max-width: 16em; }
.page-hero.center .container { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.lead { max-width: 34em; margin: 24px 0 32px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.lead em { color: var(--ink); font-style: normal; font-weight: 600; background: linear-gradient(transparent 62%, #F6D9CB 62%); }
.page-hero .container { position: relative; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.ticks li::before { content: '\2713'; color: var(--olive); font-weight: 800; margin-right: 8px; }

/* Visual do hero: o próprio site em portátil, tablet e telemóvel */
.devices { position: relative; width: 560px; height: 420px; max-width: 100%; margin: 0 auto; }
.dev-frame { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #FFF8EC; }
.dev-laptop { position: absolute; left: 0; top: 10px; width: 430px; }
.dev-laptop-screen { position: relative; width: 430px; height: 268px; overflow: hidden; border: 8px solid #17130F; border-bottom-width: 10px; border-radius: 14px 14px 4px 4px; background: var(--bg); box-sizing: content-box; width: 414px; height: 258px; }
.dev-laptop-base { height: 12px; width: 470px; margin-left: -20px; border-radius: 0 0 14px 14px; background: linear-gradient(#D9D3C8, #B9B1A4); box-shadow: 0 24px 40px -18px rgba(33,29,26,.45); }
.dev-tablet { position: absolute; right: 0; top: 70px; padding: 8px; border-radius: 18px; background: #17130F; box-shadow: 0 26px 44px -20px rgba(33,29,26,.5); transform: rotate(2deg); }
.dev-tablet-screen { position: relative; width: 154px; height: 205px; overflow: hidden; border-radius: 10px; }
.dev-phone { position: absolute; left: 52px; bottom: 0; padding: 6px; border-radius: 20px; background: #17130F; box-shadow: 0 26px 44px -18px rgba(33,29,26,.55); transform: rotate(-2deg); }
.dev-phone-screen { position: relative; width: 92px; height: 199px; overflow: hidden; border-radius: 14px; }
.is-embed .hero-visual, .is-embed .wa-float { display: none; }
.is-embed .hero-grid { grid-template-columns: 1fr; }

.feature-stack { display: grid; gap: 14px; }
.feature-chip { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.feature-chip:nth-child(2) { margin-left: 28px; } .feature-chip:nth-child(3) { margin-left: 8px; } .feature-chip:nth-child(4) { margin-left: 36px; }
.feature-no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #F6E2D9; color: var(--brand-dark); font-size: 13px; flex: none; }
.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); text-align: center; }
.monogram { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 30px; font-weight: 800; }
.profile-card h3 { font-size: 26px; }
.profile-card p { color: var(--muted); margin: 6px 0 18px; }
.pills { display: flex; justify-content: center; gap: 8px; }

/* ---------- Secções ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head .lead { margin-bottom: 0; }

/* Bento de serviços */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 20px; }
.bento-card { display: flex; flex-direction: column; padding: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bento-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.bento-card .pill { align-self: flex-start; }
.bento-card h3 { font-size: 28px; margin: 18px 0 12px; }
.bento-card p { color: var(--muted); margin: 0 0 24px; }
.bento-go { margin-top: auto; font-weight: 700; font-size: 15px; }
.bento-1 { grid-row: span 2; background: var(--dark); color: #fff; border-color: var(--dark); justify-content: flex-end; min-height: 440px; position: relative; overflow: hidden; }
.bento-1::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(193,80,46,.7), transparent); }
.bento-1 > * { position: relative; }
.bento-1 h3 { font-size: 40px; }
.bento-1 p { color: #D3CCC2; font-size: 18px; }
.bento-1 .pill { background: rgba(255,255,255,.12); color: #fff; margin-top: auto; }
.bento-1:hover { border-color: var(--brand); }
.bento-1 .bento-go { margin-top: 0; color: #F2B9A3; }
.intro-card { max-width: 820px; margin: 0 0 40px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.intro-card p:last-child { margin: 0; font-size: 18px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; border-top: 2px dashed #C9BEAE; }
.timeline-step { position: relative; }
.timeline-dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; position: relative; box-shadow: 0 0 0 6px var(--tint); }
.timeline-step h3 { font-size: 20px; margin: 22px 0 10px; letter-spacing: -0.015em; }
.timeline-step p { margin: 0; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 112px; }
.faq-intro h2 { font-size: clamp(30px, 3.6vw, 42px); }
.faq-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 28px; box-shadow: var(--shadow); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: 0; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 18px; position: relative; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; background: var(--brand); color: #fff; }
.faq-item p { margin: 0 0 24px; color: var(--muted); max-width: 38em; }

/* CTA final */
.cta-card { position: relative; overflow: hidden; padding: 72px 56px; border-radius: 32px; background: var(--dark); color: #fff; }
.cta-card::before { content: ''; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(193,80,46,.55), transparent); }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 17em; margin-bottom: 20px; }
.cta-card .accent { color: #F2A98C; }
.cta-card p { max-width: 38em; color: #D3CCC2; font-size: 18px; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Páginas de serviço, marketing, sobre ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.card h2 { font-size: 28px; margin-bottom: 16px; }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p:last-child, .card .prose p:last-child { margin-bottom: 0; }
.card-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.card-dark .prose, .card-dark p { color: #D3CCC2; }
.card-no { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; margin-bottom: 18px; border-radius: 12px; background: #F6E2D9; color: var(--brand-dark); font-weight: 800; font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.included-card h2 { margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: '\2713'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E3EAD6; color: var(--olive); font-weight: 800; font-size: 13px; line-height: 1; }
.included-card .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.statement-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.statement { font-size: clamp(30px, 4.2vw, 50px); }
.statement-text { color: var(--muted); font-size: 19px; }
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; }
.story h2 { font-size: clamp(30px, 3.6vw, 42px); }
.prose p { margin: 0 0 1.1em; }
.prose.big { font-size: 19px; }
.prose a { color: var(--brand-dark); }
.prose h2 { font-size: 26px; margin: 1.8em 0 .5em; }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s, border-color .2s; }
.plan:hover { border-color: var(--ink); }
.plan.is-selected { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-10px); box-shadow: 0 30px 50px -24px rgba(33,29,26,.55); }
.plan-badge { position: absolute; top: -14px; left: 32px; padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 28px; }
.plan .price { font-size: 20px; font-weight: 700; margin: 12px 0 14px; color: var(--brand-dark); }
.plan.is-selected .price { color: #F2A98C; }
.plan .blurb { color: var(--muted); min-height: 5em; }
.plan.is-selected .blurb { color: #D3CCC2; }
.plan .checklist { margin: 8px 0 32px; font-size: 16px; }
.plan.is-selected .checklist li::before { background: rgba(255,255,255,.14); color: #fff; }
.plan-btn { margin-top: auto; background: var(--surface); color: var(--ink); border-color: var(--border); box-shadow: none; }
.plan-btn:hover { background: var(--tint); border-color: var(--ink); color: var(--ink); }
.plan.is-selected .plan-btn { background: var(--brand); color: #fff; border-color: var(--brand); }
.plan-note { margin: 36px 0 0; text-align: center; color: var(--muted); }
.custom-plan { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding: 28px 32px; background: var(--surface); border: 1px dashed var(--brand-dark); border-radius: var(--radius); }
.custom-plan h3 { font-size: 24px; margin-bottom: 8px; }
.custom-plan p { margin: 0; max-width: 40em; color: var(--muted); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.option-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.contact-side h2, .contact-form-box h2 { font-size: 30px; margin-bottom: 12px; }
.panel-lead { color: var(--muted); margin-bottom: 24px; }
.contact-lines { margin: 32px 0; display: grid; gap: 10px; }
.contact-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--bg); }
.info-label { color: var(--muted); font-size: 14px; }
.info-value { font-weight: 700; text-align: right; text-decoration: none; }
.contact-steps h3 { font-size: 18px; margin-bottom: 12px; }
.contact-steps ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.contact-steps li { margin-bottom: 6px; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin: 20px 0 8px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(193,80,46,.15); background: #fff; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-error { display: block; color: #B3261E; font-size: 14px; margin-top: 6px; }
.field-help { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.checkbox-field { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; }
.checkbox-field input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.contact-form .btn-cta { margin-top: 28px; width: 100%; }
.form-privacy-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.form-privacy-note a { color: var(--brand-dark); }
.form-notice { padding: 16px 18px; border-radius: 14px; margin: 0 0 20px; }
.form-notice.success { background: #E3EAD6; }
.form-notice.error { background: #F7D9D4; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--dark); color: #D3CCC2; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr); gap: 56px; }
.site-footer .site-brand { color: #fff; }
.site-footer .brand-mark { background: var(--brand); }
.footer-brand p { margin: 16px 0 0; max-width: 24em; color: #A79F94; font-size: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8F877C; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 5px 0; color: #E9E3D9; text-decoration: none; font-size: 16px; }
.footer-col a:hover { color: #F2A98C; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #8F877C; }
.footer-bottom p { margin: 0; }
.footer-legal a { color: #A79F94; }

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 50; width: calc(100% - 32px); max-width: 920px; text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(33,29,26,.4); padding: 20px 22px; font-size: 14px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner:not([hidden]) ~ .wa-float { bottom: 100px; }
.cookie-banner p { margin: 0; flex: 1 1 380px; color: var(--muted); text-align: left; }
.cookie-banner a { color: var(--ink); }
.cookie-actions { display: flex; justify-content: center; gap: 10px; flex: none; }
.cookie-btn { font: inherit; font-weight: 700; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; min-height: 44px; background: var(--surface); color: var(--ink); }
.cookie-btn-primary { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Blog e portefólio (ocultos por agora) */
.empty-case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 640px; }
.empty-case h3 { font-size: 28px; margin: 10px 0; }
.rows .row { display: block; padding: 24px 0; border-top: 1px solid var(--border); text-decoration: none; }

/* ---------- Tablet e telemóvel ---------- */
@media (max-width: 1100px) { .devices { zoom: .86; } }
@media (max-width: 960px) {
  .hero-grid, .faq-grid, .statement-wrap, .story, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .plan.is-selected { transform: none; }
  .plan .blurb { min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento-1 { grid-row: auto; min-height: 340px; }
  .duo, .grid-2, .included-card .checklist { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-panel { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; overflow-y: auto; background: var(--bg); padding: 12px 24px 32px; }
  .nav-panel.is-open { display: block; }
  .site-header nav { flex-direction: column; align-items: stretch; gap: 24px; }
  .site-nav { flex-direction: column; gap: 0; }
  .site-nav > li > a { padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--border); background: none !important; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
  .site-nav > li > a.active { color: var(--brand-dark); }
  .dropdown-menu { display: block; position: static; border: 0; border-radius: 0; box-shadow: none; background: none; padding: 0 0 8px; min-width: 0; border-bottom: 1px solid var(--border); }
  .has-dropdown > a { border-bottom: 0 !important; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { padding: 8px 0 8px 16px; font-size: 17px; font-weight: 500; color: var(--muted); border-left: 2px solid var(--border); border-radius: 0; margin-left: 2px; }
  .dropdown-menu a:hover { background: none; color: var(--brand-dark); border-left-color: var(--brand); }
  .lang-switcher { order: 3; }
  .nav-cta { width: 100%; padding: 18px 28px; font-size: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero, .page-hero { padding: 44px 0 64px; }
  .lead { font-size: 18px; }
  .section { padding: 60px 0; }
  .timeline { grid-template-columns: 1fr; }
  .cta-card { padding: 44px 26px; border-radius: 24px; }
  .card { padding: 28px 24px; }
  .bento-card { padding: 28px 24px; }
  .bento-1 h3 { font-size: 32px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .devices { zoom: .54; margin: 0; }
  .feature-chip:nth-child(n) { margin-left: 0; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .cookie-banner { bottom: 16px; }
  .cookie-banner p { text-align: center; }
  .cookie-banner:not([hidden]) ~ .wa-float { bottom: 212px; }
}
