/* Feriando web landing page styles */
:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --surface-strong: #f5f2ff;
  --text: #1d1146;
  --muted: #6f6b8b;
  --accent: #6f2dd5;
  --accent-soft: #e8d8ff;
  --secondary: #ff3d82;
  --secondary-soft: #ffe5f0;
  --success: #14b8a6;
  --warning: #f59e0b;
  --border: rgba(109, 103, 150, 0.14);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #f6f4ff 0%, #ffffff 100%);
  color: var(--text);
}

body {
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-image {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.brand-title {
  display: grid;
  gap: 2px;
}

.brand-title strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.brand-title span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0 48px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 3.3vw, 4rem);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(111, 45, 213, 0.15);
}

.button.outline {
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(111, 45, 213, 0.15);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.card-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(70, 45, 120, 0.075);
  margin-bottom: 28px;
}

.panel-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.85rem;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.full {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(111, 45, 213, 0.35);
  box-shadow: 0 0 0 4px rgba(111, 45, 213, 0.1);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.submit-group {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.submit-group .button {
  min-width: 180px;
}

.status {
  padding: 14px 18px;
  border-radius: 18px;
  background: #f4f4ff;
  border: 1px solid rgba(111, 45, 213, 0.1);
  color: var(--muted);
}

.profile-card {
  display: grid;
  gap: 18px;
  border-radius: 24px;
  padding: 24px;
  background: #faf8ff;
  border: 1px solid rgba(111, 45, 213, 0.12);
}

.profile-hero {
  display: flex;
  gap: 20px;
  align-items: center;
}

.profile-photo {
  width: 94px;
  height: 94px;
  border-radius: 24px;
  overflow: hidden;
  background: #e9ddff;
  display: grid;
  place-items: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  display: grid;
  gap: 6px;
}

.profile-details strong {
  font-size: 1.1rem;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.small-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(111, 45, 213, 0.07);
  color: var(--accent);
  font-size: 0.95rem;
}

.product-card,
.info-box {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(100, 86, 172, 0.08);
  box-shadow: 0 28px 70px rgba(103, 73, 176, 0.07);
  padding: 28px;
}

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

.product-card {
  overflow: hidden;
  display: grid;
  gap: 18px;
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-card .meta {
  display: grid;
  gap: 10px;
}

.product-card .meta strong {
  font-size: 1.1rem;
}

.product-card .meta .price {
  color: var(--secondary);
  font-weight: 800;
}

.product-card .badge {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(242, 132, 96, 0.12);
  color: #c44a2c;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
}

.card-actions .button {
  width: 100%;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.summary-card,
.payment-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(100, 86, 172, 0.08);
  box-shadow: 0 28px 70px rgba(103, 73, 176, 0.07);
  padding: 28px;
  display: grid;
  gap: 14px;
}

.summary-list {
  display: grid;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(109, 103, 150, 0.12);
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.checkout-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(109, 103, 150, 0.2);
  background: #fcfbff;
}

.info-box {
  display: grid;
  gap: 14px;
}

.info-box strong {
  font-size: 1rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(96%, 720px);
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.96);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .button {
  min-width: 120px;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 12px;
  z-index: 9998;
}

.floating-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 999px;
  background: #1d1146;
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 45px rgba(8, 13, 34, 0.2);
}

.floating-action span {
  display: none;
}

.floating-contact {
  background: #2563eb;
}

.floating-instagram {
  background: #e1306c;
}

@media (min-width: 720px) {
  .floating-action span {
    display: inline;
  }
}

.hidden {
  display: none !important;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
  margin: 24px 0 40px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero,
  .form-grid {
    gap: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
