/* ============================================================
   Ourivo Agency — stylesheet
   Design system: "Dayos" (reused from the Ourivo product)
   Canvas Ice / Midnight Ink / Action Green / Alert Yellow
   Flat cards, 32px radius, no shadows / gradients / blue
   ============================================================ */

:root {
  --canvas-ice: #f1f5f4;
  --canvas-ice-deep: #e6ecea;
  --midnight-ink: #000000;
  --paper: #ffffff;
  --action-green: #d1ffca;
  --alert-yellow: #fff100;
  --ink-soft: #4a4f4d;
  --ink-faint: #8a908d;
  --line: rgba(0, 0, 0, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --radius: 32px;
  --radius-sm: 16px;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--canvas-ice);
  color: var(--midnight-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--action-green);
  border: 1px solid var(--midnight-ink);
  margin-right: 8px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.96;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--midnight-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- Nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 245, 244, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--midnight-ink);
}

.logo svg {
  width: 22px;
  height: 22px;
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  background: var(--midnight-ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--midnight-ink);
  white-space: nowrap;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--midnight-ink);
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--action-green);
  color: var(--midnight-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--midnight-ink);
}

.btn-on-dark {
  background: var(--action-green);
  color: var(--midnight-ink);
  border-color: var(--action-green);
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 90px 0 70px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-top: 18px;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-cta-row {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-fine {
  font-size: 0.82rem;
  color: var(--ink-faint);
  max-width: 40ch;
}

/* Signature element: floating chat mockup */

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-card {
  background: var(--paper);
  border: 1.5px solid var(--midnight-ink);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  max-width: 380px;
}

.chat-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--action-green);
  border: 1px solid var(--midnight-ink);
}

.chat-card-head strong {
  font-size: 0.95rem;
}

.chat-card-head span {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.bubble.in {
  background: var(--canvas-ice-deep);
  border-bottom-left-radius: 4px;
}

.bubble.out {
  background: var(--action-green);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

/* ---------------- Section shells ---------------- */

section {
  padding: 74px 0;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-top: 14px;
}

.on-dark {
  background: var(--midnight-ink);
  color: var(--paper);
}

.on-dark .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.on-dark .eyebrow::before {
  border-color: var(--paper);
}

/* ---------------- Four doors ---------------- */

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.door {
  background: var(--paper);
  border: 1.5px solid var(--midnight-ink);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--midnight-ink);
}

.door-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.door-pain {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.door-fix {
  font-weight: 700;
  font-size: 1rem;
}

.door-link {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------------- How it works ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.step {
  border-top: 1.5px solid var(--line-on-dark);
  padding-top: 18px;
}

.step-index {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--action-green);
  display: block;
}

.step h3 {
  font-size: 1.3rem;
  margin-top: 6px;
}

.step p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

/* ---------------- Proof ---------------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
}

.proof-card {
  background: var(--paper);
  border: 1.5px solid var(--midnight-ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-media {
  background: var(--canvas-ice-deep);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1.5px solid var(--midnight-ink);
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.proof-placeholder {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: center;
  padding: 20px;
}

.proof-body {
  padding: 22px 24px 26px;
}

.proof-body p {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.proof-note {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--action-green);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
}

.proof-caveat {
  margin-top: 30px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  max-width: 62ch;
}

/* ---------------- Footer ---------------- */

footer {
  padding-top: 70px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .logo {
  color: var(--paper);
}

.footer-brand p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-made {
  margin-top: 22px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  text-decoration: underline;
}

/* ---------------- Legal pages ---------------- */

.legal {
  padding: 60px 0 90px;
}

.legal .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 26px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 10px;
}

.legal .updated {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.legal-body {
  max-width: 72ch;
  margin-top: 40px;
}

.legal-body h2 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-body p,
.legal-body li {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal-body ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

.legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--canvas-ice-deep);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------------- Floating WhatsApp button ---------------- */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  border: 1.5px solid var(--midnight-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, bottom 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

.whatsapp-float.raised {
  bottom: 130px;
}

@media (max-width: 540px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float.raised {
    bottom: 190px;
  }
}

/* ---------------- Cookie consent banner ---------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--paper);
  border-top: 1.5px solid var(--midnight-ink);
  padding: 18px var(--gutter);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner-text {
  max-width: 640px;
}

.cookie-banner-text strong {
  font-size: 0.95rem;
}

.cookie-banner-text p {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cookie-banner-text a {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.cookie-manage {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .nav-cta span {
    display: none;
  }
  .legal {
    padding-bottom: 140px;
  }
}
