/*
Theme Name:  Lagosta
Theme URI:   https://lagosta.pt
Description: Tema oficial da Lagosta Marketing Studio. Compatível com o Personalizador do WordPress para personalização completa de cores, tipografia, logos e visibilidade de secções.
Author:      Lagosta Marketing Studio
Author URI:  https://lagosta.pt
Version:     1.0
License:     GPL-2.0-or-later
Text Domain: lagosta
*/

/* ──────────────────────────────────────────────
   VARIÁVEIS DE MARCA (overridas pelo Customizador)
   ────────────────────────────────────────────── */
:root {
  --coral:  #E8623A;
  --coral2: #C8421A;
  --noite:  #0D1F2D;
  --noite2: #0A1822;
  --noite3: #1A3048;
  --linho:  #F4EBD9;
  --linho2: #EAD9C0;
  --linho3: #DEC9A8;
  --cream:  #FAF6EE;
  --text:   #1C1410;
  --muted:  #8A7A68;
  --soft:   #4A3A28;
  --border: rgba(28,20,16,0.09);
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --font-size-base: 15px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--linho);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }

/* ── GRAIN OVERLAY ── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.042'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  padding: 20px 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: var(--linho);
  border-bottom-color: var(--border);
  padding-top: 14px; padding-bottom: 14px;
}
.site-nav.nav-dark { background: var(--noite); border-bottom-color: rgba(244,235,217,0.06); }
.nav-brand-text {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--linho); letter-spacing: -0.01em;
}
.nav-brand-text .brand-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
.site-nav.scrolled .nav-brand-text { color: var(--text); }
.site-logo { height: 36px; width: auto; }
.nav-logo-link.logo-version-dark  { display: flex; align-items: center; }
.nav-logo-link.logo-version-light { display: none; }
.site-nav.scrolled .nav-logo-link.logo-version-dark  { display: none; }
.site-nav.scrolled .nav-logo-link.logo-version-light { display: flex; align-items: center; }
.nav-logo-link { display: flex; align-items: center; }

.nav-menu {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(244,235,217,0.65); transition: color 0.2s;
}
.nav-menu a:hover { color: var(--linho); }
.site-nav.scrolled .nav-menu a { color: var(--muted); }
.site-nav.scrolled .nav-menu a:hover { color: var(--text); }
.nav-cta {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 10px 20px;
  background: var(--coral); color: var(--linho);
  border: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--coral2); }

/* ── HERO ── */
.hero-section {
  min-height: 100vh; background: var(--noite);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px 64px 64px; position: relative; overflow: hidden;
}
.hero-wm {
  position: absolute; bottom: -0.1em; right: -0.02em;
  font-family: var(--serif); font-size: clamp(100px,14vw,150px);
  font-weight: 800; font-style: italic;
  color: rgba(244,235,217,0.025); line-height: 1;
  pointer-events: none; user-select: none; letter-spacing: -0.03em;text-align: right
}
.hero-tag {
  font-size: 10px; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(244,235,217,0.3);
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
}
.hero-tag::before { content: ''; width: 28px; height: 1px; background: var(--coral); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 700; line-height: 0.9; letter-spacing: -0.03em; color: var(--linho);
}
.hero-title em { font-style: italic; color: var(--coral); display: block; }
.hero-desc {
  font-size: 16px; color: rgba(244,235,217,0.45);
  line-height: 1.85; font-weight: 300; max-width: 600px; margin-top: 28px;
}
.hero-cta-group {
  display: flex; gap: 16px; align-items: center; margin-top: 40px;
}
.btn-primary {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 14px 28px;
  background: var(--coral); color: var(--linho);
  border: none; transition: background 0.2s;
}
.btn-primary:hover { background: var(--coral2); }
.btn-ghost {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 14px 28px;
  border: 1px solid rgba(244,235,217,0.25); color: rgba(244,235,217,0.6);
  background: transparent; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(244,235,217,0.6); color: var(--linho); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px;
}
.hero-stat { border: 1px solid rgba(244,235,217,0.07); padding: 22px 20px; }
.stat-num {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  color: var(--linho); margin-bottom: 4px; line-height: 1;
}
.stat-num span { color: var(--coral); }
.stat-label {
  font-size: 10px; font-weight: 400; letter-spacing: 0.13em;
  text-transform: uppercase; color: rgba(244,235,217,0.28); line-height: 1.4;
}

/* ── MARQUEE ── */
.marquee-section {
  background: var(--coral); padding: 18px 0; overflow: hidden;
  border-top: 1px solid var(--coral2); border-bottom: 1px solid var(--coral2);
}
.marquee-track {
  display: flex; gap: 60px; animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif); font-size: 14px; font-style: italic;
  font-weight: 600; color: rgba(244,235,217,0.8); white-space: nowrap;
  display: flex; align-items: center; gap: 60px;
}
.marquee-item::after {
  content: '·'; color: rgba(244,235,217,0.4); font-style: normal;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION BASE ── */
.site-section { padding: 96px 64px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px; margin-bottom: 48px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--coral); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.025em; color: var(--text);
}
.section-title em { font-style: italic; color: var(--coral); }
.section-sub {
  font-size: 15px; color: var(--soft); line-height: 1.85;
  font-weight: 300; max-width: 680px; margin-top: 18px;
}

/* ── SERVIÇOS ── */
.servicos-section { background: var(--linho2); border-bottom: 1px solid var(--border); }
.servicos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 52px;
}
.servico-card {
  background: var(--cream); border: 1px solid var(--border);
  padding: 36px 30px; transition: border-color 0.22s;
}
.servico-card:hover { border-color: var(--coral); }
.servico-num {
  font-family: var(--serif); font-size: 11px; font-style: italic;
  color: var(--coral); margin-bottom: 14px;
}
.servico-rule { width: 20px; height: 2px; background: var(--coral); margin-bottom: 18px; }
.servico-name {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 10px; line-height: 1.1;
}
.servico-desc { font-size: 13px; color: var(--soft); line-height: 1.65; font-weight: 300; }

/* ── CASOS ── */
.casos-section { border-bottom: 1px solid var(--border); }
.casos-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 52px;
}
.caso-card {
  border: 1px solid var(--border); overflow: hidden; transition: border-color 0.22s;
}
.caso-card:hover { border-color: var(--coral); }
.caso-header { padding: 28px 28px 22px; border-bottom: 1px solid var(--border); background: var(--cream); }
.caso-sector {
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 8px;
}
.caso-name {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--text); margin-bottom: 4px; line-height: 1.1;
}
.caso-body { padding: 24px 28px; }
.caso-desc { font-size: 13px; color: var(--soft); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.caso-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.caso-stat-num {
  font-family: var(--serif); font-size: 28px; font-weight: 900;
  color: var(--coral); line-height: 0.9; letter-spacing: -0.02em;
}
.caso-stat-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

/* ── SOBRE ── */
.sobre-section { background: var(--noite); padding: 96px 64px; }
.sobre-section .section-label { color: rgba(244,235,217,0.3); }
.sobre-section .section-label::before { background: var(--coral); }
.sobre-section .section-title { color: var(--linho); }
.sobre-section .section-title em { color: var(--coral); }
.sobre-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 52px; align-items: start;
}
.sobre-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 32px);
  font-style: italic; font-weight: 400;
  color: var(--linho); line-height: 1.3; letter-spacing: -0.01em;
}
.sobre-text {
  font-size: 15px; color: rgba(244,235,217,0.45);
  line-height: 1.85; font-weight: 300; margin-top: 24px;
}
.founders-grid { display: flex; flex-direction: column; gap: 2px; }
.founder-card {
  border: 1px solid rgba(244,235,217,0.07); padding: 28px 24px;
  display: flex; gap: 20px; align-items: flex-start;
}
.founder-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; background: var(--noite3);
  display: flex; align-items: center; justify-content: center;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-avatar-placeholder {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  font-style: italic; color: var(--linho);
}
.founder-name {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--linho); margin-bottom: 3px;
}
.founder-role {
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 8px;
}
.founder-bio { font-size: 12px; color: rgba(244,235,217,0.4); line-height: 1.6; font-weight: 300; }

/* ── PROCESSO ── */
.processo-section { border-bottom: 1px solid var(--border); }
.processo-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 52px;
}
.processo-step {
  border: 1px solid var(--border); padding: 32px 24px; position: relative; overflow: hidden;
}
.ps-bg-num {
  position: absolute; top: -0.1em; right: -0.1em;
  font-family: var(--serif); font-size: clamp(60px,8vw,100px);
  font-weight: 900; color: rgba(28,20,16,0.04);
  line-height: 1; pointer-events: none; user-select: none;
}
.ps-rule { width: 16px; height: 2px; background: var(--coral); margin-bottom: 18px; }
.ps-name {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--text); margin-bottom: 8px; line-height: 1.1;
}
.ps-desc { font-size: 12px; color: #f4ebd9; line-height: 1.65; font-weight: 300; }

/* ── TESTEMUNHOS ── */
.testemunhos-section { background: var(--linho2); border-bottom: 1px solid var(--border); }
.testemunhos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 52px;
}
.testemunho-card { background: var(--cream); border: 1px solid var(--border); padding: 32px 28px; }
.testemunho-quote-mark {
  font-family: var(--serif); font-size: 40px; font-weight: 900;
  color: rgba(232,98,58,0.2); line-height: 0.7; margin-bottom: 14px;
}
.testemunho-text {
  font-family: var(--serif); font-size: 15px; font-style: italic;
  color: var(--text); line-height: 1.5; margin-bottom: 20px;
}
.testemunho-author { font-size: 12px; font-weight: 700; color: var(--text); }
.testemunho-company {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.testemunho-rule {
  width: 20px; height: 2px; background: var(--coral); margin-bottom: 12px;
}

/* ── CONTACTO ── */
.contacto-section { border-bottom: 1px solid var(--border); }
.contacto-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 52px; align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 24px; }
.ci-item { display: flex; flex-direction: column; gap: 4px; }
.ci-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral);
}
.ci-value { font-size: 14px; color: var(--text); font-weight: 400; }
.ci-value a:hover { color: var(--coral); }
.contacto-socials { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 8px 14px;
  border: 1px solid var(--border); color: var(--muted);
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--coral); color: var(--coral); }
.contacto-form-wrap {}
.wpcf7-form input,
.wpcf7-form textarea,
.contacto-form input,
.contacto-form textarea {
  width: 100%; padding: 14px 16px; background: var(--cream);
  border: 1px solid var(--border); font-family: var(--sans);
  font-size: 14px; color: var(--text); outline: none;
  transition: border-color 0.2s; margin-bottom: 12px; display: block;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: var(--coral);
}
.wpcf7-form textarea,
.contacto-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input[type="submit"],
.contacto-form button[type="submit"],
.contacto-form input[type="submit"] {
  background: var(--coral); color: var(--linho);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 14px 28px; border: none;
  cursor: pointer; transition: background 0.2s; width: auto; margin-bottom: 0;
}
.wpcf7-form input[type="submit"]:hover,
.contacto-form input[type="submit"]:hover { background: var(--coral2); }

/* ── FOOTER ── */
.site-footer {
  background: var(--noite2); padding: 36px 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(244,235,217,0.04);
}

.site-footer .nav-logo-link {
    display: inline-flex;
    align-items: center;
    line-height 0;
}
.site-footer .nav-logo-link img {
    height: 28px;
    width: auto;
    max-width: 140px;
    display: block;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink:0;
}
.site-footer .nav-logo-link img:hover { opacity: 0.8; }

.footer-brand {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: rgba(244,235,217,0.4); display: flex; align-items: center; gap: 4px;
}
.footer-brand-dot { width: 5px; height: 5px; background: var(--coral); border-radius: 50%; }
.footer-copy { font-size: 11px; color: rgba(244,235,217,0.18); letter-spacing: 0.06em; }
.footer-tag { font-family: var(--serif); font-size: 12px; font-style: italic; color: rgba(244,235,217,0.25); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.36s; }

/* ── ADMIN BAR ── */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-nav, .hero-section, .site-section, .sobre-section, .contacto-section, .site-footer {
    padding-left: 32px; padding-right: 32px;
  }
  .hero-stats, .servicos-grid { grid-template-columns: 1fr 1fr; }
  .casos-grid, .sobre-layout, .contacto-layout { grid-template-columns: 1fr; }
  .processo-steps { grid-template-columns: 1fr 1fr; }
  .testemunhos-grid { grid-template-columns: 1fr; }
  .hero-section {
    min-height: auto;
    padding-top: 100px
    padding-bottom: 48px
    gap: 40px;
  }
  .hero-stats {
      margin-top:50px;
  }
}
@media (max-width: 640px) {
  .site-nav { padding: 14px 20px; }
  .hero-section, .site-section, .sobre-section, .site-footer {
    padding-left: 20px; padding-right: 20px;
  }
  .nav-menu { display: none; }
  .hero-stats, .servicos-grid, .processo-steps { grid-template-columns: 1fr; }
}


