/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wine:        #6d1a2e;
  --wine-dark:   #4e1120;
  --wine-light:  #8c2240;
  --wine-pale:   #f5eaed;
  --wine-tint:   #fdf7f8;

  --charcoal:    #1a1a2a;
  --gray-900:    #1f1f2e;
  --gray-700:    #444455;
  --gray-500:    #787890;
  --gray-300:    #c8c8d8;
  --gray-100:    #f4f4f8;
  --white:       #ffffff;

  --font-body:   'Inter', sans-serif;
  --font-display:'Playfair Display', serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --shadow-wine: 0 8px 32px rgba(109,26,46,.25);

  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --nav-h:       76px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

.section-subtitle {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-subtitle { margin-inline: auto; }

.section-header--light { color: var(--white); }
.title--light { color: var(--white); }
.eyebrow--light { color: rgba(255,255,255,.8); }
.eyebrow--light::before { background: rgba(255,255,255,.6); }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
  box-shadow: var(--shadow-wine);
}
.btn-primary:hover {
  background: var(--wine-dark);
  box-shadow: 0 12px 40px rgba(109,26,46,.35);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--wine);
  color: var(--wine);
}
.btn-outline:hover {
  background: var(--wine);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
}

.btn-full { width: 100%; justify-content: center; }

/* ── SECTION ────────────────────────────────────── */
.section { padding-block: 96px; }

/* ── NAV ────────────────────────────────────────── */
#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  /* white bg visible on dark hero — add slight shadow */
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--wine);
  background: var(--wine-pale);
}

#header:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
#header:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,.12); }

.nav-cta { margin-left: 8px; }
#header:not(.scrolled) .nav-cta {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
#header:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,.15);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
#header:not(.scrolled) .burger span { background: #fff; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(109,26,46,.18) 0%, transparent 70%),
    linear-gradient(135deg, #1a0a10 0%, #2d0f1a 40%, #1a1a2a 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,10,16,.6) 40%, transparent 100%);
}

/* decorative circles */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(109,26,46,.2);
  top: -100px;
  right: -100px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(109,26,46,.1);
  top: -250px;
  right: -250px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 120px 80px;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109,26,46,.35);
  border: 1px solid rgba(109,26,46,.5);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--wine-light);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(140,34,64,.35);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--wine-light);
  display: inline-block;
  position: relative;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wine-light);
  border-radius: 2px;
  opacity: .5;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  display: block;
}
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.4);
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}
.scroll-hint:hover { color: rgba(255,255,255,.7); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── SOBRE ──────────────────────────────────────── */
.sobre {
  background: var(--white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-visual {
  position: relative;
}

.sobre-img-wrap {
  position: relative;
}

.sobre-img-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sobre-img-block svg { width: 100%; height: auto; }

.sobre-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(109,26,46,.1);
}
.sobre-badge-float svg {
  color: var(--wine);
  flex-shrink: 0;
}
.sobre-badge-float strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--charcoal);
}
.sobre-badge-float span {
  font-size: .75rem;
  color: var(--gray-500);
}

.sobre-text { padding-block: 20px; }

.sobre-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-top: 20px;
}
.sobre-desc + .sobre-desc { margin-top: 12px; }

.sobre-values {
  margin-top: 32px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sobre-values li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.val-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--wine-pale);
  color: var(--wine);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.sobre-values strong {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.sobre-values p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── SERVIÇOS ───────────────────────────────────── */
.servicos { background: var(--wine-tint); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servico-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109,26,46,.15);
}

.servico-card--featured {
  background: var(--wine);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-wine);
}
.servico-card--featured:hover {
  background: var(--wine-dark);
  border-color: transparent;
}

/* illustration area */
.servico-ilustracao {
  width: 100%;
  aspect-ratio: 280/160;
  overflow: hidden;
  background: var(--wine-tint);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.servico-ilustracao svg { width: 100%; height: 100%; }
.servico-ilustracao--dark { background: var(--wine-dark); border-bottom-color: transparent; }

.servico-body {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.servico-icon-sm {
  width: 40px;
  height: 40px;
  background: var(--wine-pale);
  color: var(--wine);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.servico-icon-sm--light {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.servico-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.25);
}

.servico-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.servico-card--featured .servico-body h3 { color: #fff; }

.servico-body p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--gray-500);
  flex: 1;
}
.servico-card--featured .servico-body p { color: rgba(255,255,255,.75); }

.servico-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--wine);
  transition: gap var(--transition);
}
.servico-link:hover { gap: 10px; }
.servico-card--featured .servico-link { color: rgba(255,255,255,.9); }

/* ── NÚMEROS ────────────────────────────────────── */
.numeros {
  position: relative;
  overflow: hidden;
}
.numeros-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 60%, var(--wine-light) 100%);
}
.numeros-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 32px 32px;
}
.numeros .container { position: relative; z-index: 1; }

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.numero-card {
  padding: 48px 32px;
  text-align: center;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.numero-card:hover { background: rgba(255,255,255,.1); }

.numero-val {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.numero-plus {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,.6);
}
.numero-card p {
  margin-top: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ── EQUIPA ─────────────────────────────────────── */
.equipa { background: var(--gray-100); }

.equipa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.membro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}
.membro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.membro-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--wine-pale);
}
.membro-avatar svg { width: 100%; height: 100%; }

.membro-info {
  padding: 24px 20px;
}
.membro-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.membro-info span {
  font-size: .78rem;
  color: var(--wine);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.membro-info p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── TESTEMUNHOS ────────────────────────────────── */
.testemunhos { background: var(--white); }

.testemunhos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testemunho-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}
.testemunho-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testemunho-card--featured {
  background: var(--wine);
  border-color: transparent;
  box-shadow: var(--shadow-wine);
}

.testemunho-stars {
  color: #f5b642;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testemunho-card p {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 24px;
}
.testemunho-card--featured p { color: rgba(255,255,255,.85); }

.testemunho-autor {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testemunho-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wine-pale);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testemunho-card--featured .testemunho-avatar {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.testemunho-autor strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--charcoal);
}
.testemunho-card--featured .testemunho-autor strong { color: #fff; }
.testemunho-autor span {
  font-size: .78rem;
  color: var(--gray-500);
}
.testemunho-card--featured .testemunho-autor span { color: rgba(255,255,255,.65); }

/* ── CONTACTO ───────────────────────────────────── */
.contacto { background: var(--wine-tint); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contacto-desc {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 40px;
}

.contacto-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contacto-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contacto-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--wine-pale);
  color: var(--wine);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacto-list strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.contacto-list a, .contacto-list span {
  font-size: .97rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.5;
}
.contacto-list a:hover { color: var(--wine); }

/* Form */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.06);
}

.contacto-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(109,26,46,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #edf7ee;
  color: #2d6a30;
  border: 1px solid #b6ddb8;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
}
.form-success.visible { display: flex; }

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-block: 72px;
}

.footer-logo { display: inline-block; }
.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: .9rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 8px;
}
.footer-contact a {
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
}
.footer-bottom-inner a {
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-bottom-inner a:hover { color: var(--white); }

/* ── SCROLL ANIMATIONS ──────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .servicos-grid  { grid-template-columns: repeat(2, 1fr); }
  .equipa-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 40px; }
  .numeros-grid   { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid     { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(26,10,16,.97);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 8px;
    z-index: 99;
  }
  .nav-links.open a {
    color: rgba(255,255,255,.85) !important;
    font-size: 1.2rem;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }
  .nav-links.open a:hover {
    background: rgba(109,26,46,.3) !important;
    color: #fff !important;
  }

  #header.scrolled .burger span { background: var(--charcoal); }

  .sobre-grid        { grid-template-columns: 1fr; gap: 40px; }
  .sobre-badge-float { right: 0; bottom: -16px; }
  .servicos-grid     { grid-template-columns: 1fr; }
  .testemunhos-grid  { grid-template-columns: 1fr; }
  .equipa-grid       { grid-template-columns: 1fr 1fr; }
  .contacto-grid     { grid-template-columns: 1fr; gap: 40px; }
  .form-row          { grid-template-columns: 1fr; }
  .contacto-form-wrap { padding: 32px 24px; }
  .numeros-grid      { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-actions      { flex-direction: column; }
  .hero-stats        { gap: 20px; }
  .section           { padding-block: 64px; }
}

@media (max-width: 480px) {
  .equipa-grid { grid-template-columns: 1fr; }
  .numeros-grid { grid-template-columns: 1fr; }
  .numero-card { padding: 32px 24px; }
}
