/* ==========================================================================
   TARGAN Itapema — Powered by Porsche Consulting
   CSS puro, mobile-first, sem frameworks.
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --bronze: #b08d57;
  --bronze-light: #d9c39a;
  --red: #b31f24;
  --cream: #f2efe9;
  --muted: #9a9690;
  --white: #ffffff;
  --transition: 260ms ease;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--cream);
  background: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; color: var(--white); line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-family: var(--font); font-weight: 500; font-size: 1.1rem; color: var(--white); margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--white); color: #000; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: 6px; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--bronze); color: #0a0a0a; }
.btn-primary:hover { background: var(--bronze-light); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 24px 90px; text-align: center; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.78rem; font-weight: 500;
  color: var(--bronze-light); margin-bottom: 22px;
}
.hero-logo { width: 56px; height: auto; margin: 0 auto 18px; }
.hero-brand { font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero-brand-rule { width: 36px; height: 2px; background: var(--red); margin: 0 auto 20px; }
.hero h1 { color: #fff; max-width: 16ch; margin-left: auto; margin-right: auto; }
.hero-subtitle { max-width: 46ch; margin: 0 auto 36px; font-size: 1.05rem; color: #d6d2c8; }
.hero-powered { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.hero-scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll-hint::after {
  content: ""; width: 1px; height: 32px; background: rgba(255,255,255,0.4);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--black-soft); }
.section-eyebrow { text-align: center; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin: 0 auto 2.4em; text-align: center; }
.section-heading { text-align: center; max-width: 22ch; margin-left: auto; margin-right: auto; }

/* ---------- Conceito ---------- */
.concept-text { max-width: 780px; margin: 0 auto; text-align: center; }
.concept-text p { font-size: 1.08rem; color: #cfcbc2; }
.concept-signature { font-size: 1.4rem; font-weight: 300; color: var(--white); margin-top: 1.4em; line-height: 1.5; }

/* ---------- Pillars (Exclusividade / Localização / Legado) ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.pillar { text-align: center; }
.pillar-index { display: block; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--bronze); margin-bottom: 18px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pillar p { font-size: 0.95rem; }

/* ---------- Porsche inspiration ---------- */
.inspiration { display: flex; align-items: center; gap: 72px; }
.inspiration-text { flex: 1; min-width: 0; }
.inspiration-figure { flex: 0.9; margin: 0; }
.inspiration-figure img { width: 100%; height: auto; border-radius: 2px; }
.inspiration-text p { font-size: 1.02rem; }
.inspiration-text strong { color: var(--white); font-weight: 600; }

/* ---------- Video (bastidores) ---------- */
.video-feature { position: relative; width: 100%; max-width: 900px; margin: 56px auto 0; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 2px; }
.video-feature video { width: 100%; height: 100%; object-fit: cover; }
.video-sound-hint {
  position: absolute; bottom: 20px; right: 20px; z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.4); padding: 8px 14px; border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: background var(--transition);
}
.video-sound-hint:hover { background: rgba(0,0,0,0.65); }

/* ---------- Experience (varanda) ---------- */
.experience { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.experience-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.experience-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%); }
.experience-content { position: relative; z-index: 2; max-width: 480px; padding: 24px; }
.experience-content .eyebrow { color: var(--bronze-light); }
.experience-content p { color: #d6d2c8; }

/* ---------- Thesis / article ---------- */
.thesis p { font-size: 1.02rem; }
.thesis p strong { color: var(--white); }
.thesis-names { color: var(--bronze-light); font-style: normal; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 64px 0; text-align: center; }
.stats-strip .stat-number { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; color: var(--white); margin: 0; }
.stats-strip .stat-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }

/* ---------- Press mention ---------- */
.press-card { border-left: 2px solid var(--red); padding-left: 24px; }
.press-source { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: 10px; }
.press-headline { font-size: 1.2rem; font-style: italic; color: var(--white); font-weight: 300; margin-bottom: 14px; }
.press-summary { font-size: 0.95rem; }

/* ---------- Contact / Pré-reserva ---------- */
.contact-form { max-width: 480px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-row input {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
  font-size: 0.95rem; font-family: inherit; background: rgba(255,255,255,0.03); color: var(--white);
  transition: border-color var(--transition);
}
.form-row input::placeholder { color: #6b675f; }
.form-row input:focus { outline: none; border-color: var(--bronze); }
.contact-form .btn { width: 100%; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #050505; padding: 56px 0 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; }
.footer-brand { font-size: 1.1rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--white); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--muted); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding: 20px 24px max(20px, env(safe-area-inset-bottom)); text-align: center; font-size: 0.78rem; color: #55524c; border-top: 1px solid rgba(255,255,255,0.06); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 450ms ease-out, transform 450ms ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 40px; }
  .inspiration { flex-direction: column; gap: 40px; }
  .stats-strip { grid-template-columns: 1fr; gap: 28px; }
  .experience-content { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero { min-height: 100vh; }
  .hero-content { padding: 120px 20px 70px; }
  .section { padding: 72px 0; }
  .experience { min-height: 70vh; }
}
