/* ============================================
   ACADEMIA SEMENTE — Luxury Education Website
   Thin lines · Generous space · Light type
   ============================================ */

:root {
  /* Brand palette */
  --green-primary: #0B8F3A;
  --green-secondary: #19B51A;
  --green-dark: #067A37;
  --green-soft: #e8f5ec;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #FAFBFA;
  --gray-100: #F5F7F5;
  --gray-200: #E8ECE8;
  --gray-400: #9CA39C;
  --gray-600: #5A635A;
  --gray-800: #2D332D;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --text: #1A1A1A;
  --text-soft: #5A635A;
  --text-muted: #9CA39C;
  --accent: #0B8F3A;
  --accent-hover: #067A37;

  /* Layout */
  --header-height: 72px;
  --announce-height: 36px;
  --radius: 14px;
  --radius-btn: 10px;
  --max-width: 1120px;
  --section-pad: clamp(4.5rem, 10vw, 7.5rem);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --trans: 0.3s var(--ease);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announce-height);
  background: var(--green-dark);
  color: var(--white);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease);
}

.announce-bar.hidden {
  transform: translateY(-100%);
}

.announce-link {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--trans);
}

.announce-link:hover {
  color: var(--white);
}

.announce-accent {
  color: #7dffa0;
  font-weight: 500;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: var(--announce-height);
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  /* Stay below announce bar; JS sets top:0 only when announce is hidden */
  top: var(--announce-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}

.site-header.scrolled .brand-name {
  color: var(--text);
}

.site-header.scrolled .brand-tagline {
  color: var(--gray-600);
}

.site-header.scrolled .desktop-nav a {
  color: var(--gray-600);
}

.site-header.scrolled .desktop-nav a:hover {
  color: var(--accent);
}

.site-header.scrolled .lang-btn {
  color: var(--gray-600);
}

.site-header.scrolled .lang-btn.active {
  color: var(--accent);
}

.site-header.scrolled .lang-divider {
  color: var(--gray-400);
}

.site-header.scrolled .ham-line {
  background: var(--text);
}

.site-header.scrolled .cart-btn {
  color: var(--text);
}

.site-header.scrolled .cart-count {
  background: var(--accent);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Brand — centered (Kylie-style: large name, smaller tagline) */
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: color var(--trans);
  max-width: calc(100% - 140px); /* leave room for hamburger + cart on narrow phones */
  pointer-events: auto;
  z-index: 1;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 3px;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  flex-shrink: 0;
}

.ham-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.active .ham-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active .ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .ham-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Header actions (cart + lang) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: color var(--trans);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  border: none;
  padding: 0;
}

.cart-btn svg {
  pointer-events: none;
}

.cart-btn:hover {
  color: rgba(255,255,255,0.8);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--green-secondary);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 2px 4px;
  transition: color var(--trans);
}

.lang-btn.active {
  color: var(--white);
  font-weight: 500;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-divider {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  justify-content: center;
  gap: 1.75rem;
  padding-bottom: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.desktop-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--trans);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--white);
}

.site-header.scrolled .desktop-nav a {
  color: var(--gray-600);
}

.site-header.scrolled .desktop-nav a:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
  .desktop-nav {
    display: flex;
  }
  .header-inner {
    height: 64px;
  }
  .brand {
    max-width: none;
  }
  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }
  .brand-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.26em;
  }
}

/* ========== MOBILE DRAWER ========== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: var(--surface);
  z-index: 1101;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-right: 1px solid var(--gray-200);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.drawer-brand {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  transition: color var(--trans);
}

.drawer-close:hover {
  color: var(--text);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.drawer-nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--trans), padding-left var(--trans);
}

.drawer-nav a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.drawer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent);
  transition: color var(--trans);
}

.drawer-whatsapp:hover {
  color: var(--green-dark);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
}

.btn-sm:hover {
  background: var(--green-dark);
}

.btn-full {
  width: 100%;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--announce-height) + 1.5rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark green tint so text stays readable on the photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(6, 122, 55, 0.72) 0%, rgba(11, 143, 58, 0.55) 45%, rgba(6, 100, 45, 0.7) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  text-shadow: 0 1px 14px rgba(0,0,0,0.25);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ========== SOBRE ========== */
.sobre {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.sobre-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/sobre-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.sobre > .container {
  position: relative;
  z-index: 1;
}

.sobre-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .sobre-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.sobre-text p {
  font-weight: 300;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.sobre-text p:last-child {
  margin-bottom: 0;
}

.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color var(--trans);
}

.stat-card:hover {
  border-color: var(--green-primary);
}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mission-vision {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .mission-vision {
    grid-template-columns: 1fr 1fr;
  }
}

.mv-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mv-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f9f6;
}

.mv-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mv-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.mv-card p {
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* ========== CURSOS / PRICING ========== */
.cursos {
  background: var(--gray-100);
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.price-card:hover {
  border-color: var(--green-primary);
  box-shadow: 0 8px 30px rgba(11, 143, 58, 0.06);
}

.price-card.featured {
  border-color: var(--green-primary);
  box-shadow: 0 12px 40px rgba(11, 143, 58, 0.1);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

.price-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f9f6;
}

.price-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.price-header {
  margin-bottom: 1.25rem;
}

.price-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.price-tag {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.price-amount .currency {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-amount .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.price-amount .period {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
}

.price-features {
  flex: 1;
  margin-bottom: 1.75rem;
}

.price-features li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-soft);
  padding: 0.45rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-secondary);
  opacity: 0.7;
}

.price-card .btn {
  margin-top: auto;
}

/* Horários */
.horarios {
  position: relative;
  text-align: center;
  padding: 2.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.horarios::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/horarios-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.horarios::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(250, 251, 250, 0.82) 50%,
    rgba(232, 245, 236, 0.86) 100%
  );
}

.horarios-header,
.horarios-list,
.teste-gratis {
  position: relative;
  z-index: 2;
}

.horarios-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.horarios-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.horarios-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.horarios h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
}

.horarios-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.horario-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  border: 1px solid rgba(11, 143, 58, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.horario-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
}

.horario-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.teste-gratis {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-soft);
}

/* ========== PRODUTOS ========== */
.produtos {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .products-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  background: var(--off-white);
}

.product-card:hover {
  border-color: var(--green-primary);
  box-shadow: 0 8px 28px rgba(11, 143, 58, 0.06);
}

.product-image {
  aspect-ratio: 1 / 1;
  background: #f4f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

/* Product image slider (polo front/back) */
.product-image.product-slider {
  display: block; /* override flex so track + controls don't sit in a row */
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.product-slider .slider-track {
  display: flex;
  flex-direction: row;
  width: 200%;
  height: 100%;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.product-slider .slider-track img {
  box-sizing: border-box;
  width: 50%;
  min-width: 50%;
  max-width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex: 0 0 50%;
  pointer-events: none;
  transform: none !important;
}

.product-card:hover .product-slider .slider-track img {
  transform: none !important;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s var(--ease), background 0.2s;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.product-slider:hover .slider-nav,
.product-slider:focus-within .slider-nav {
  opacity: 1;
}

@media (hover: none) {
  .slider-nav { opacity: 0.85; }
}

.slider-prev { left: 0.5rem; }
.slider-next { right: 0.5rem; }

.slider-nav:hover {
  background: var(--white);
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.slider-dot {
  position: absolute;
  bottom: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot:nth-of-type(1) { left: calc(50% - 12px); }
.slider-dot:nth-of-type(2) { left: calc(50% + 5px); }

.slider-dot.active {
  background: var(--green-primary);
  transform: scale(1.15);
}


.product-info {
  padding: 1.35rem;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.product-info p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-price .price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
}

/* Tighter product cards in 2-col mobile */
@media (max-width: 639px) {
  .product-info {
    padding: 0.9rem 0.85rem 1rem;
  }
  .product-info h3 {
    font-size: 0.95rem;
  }
  .product-info p {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .product-price .price {
    font-size: 0.85rem;
  }
  .product-price .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.65rem;
  }
}

/* ========== DIFERENCIAIS ========== */
.diferenciais {
  position: relative;
  background: var(--gray-100);
  overflow: hidden;
}

.diferenciais-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/diff-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.diferenciais > .container {
  position: relative;
  z-index: 1;
}

.diff-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .diff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diff-item {
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--trans), box-shadow var(--trans);
}

.diff-item:hover {
  border-color: var(--green-primary);
}

.diff-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f9f6;
}

.diff-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.diff-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.diff-item p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ========== CONTACTO ========== */
.contacto {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.contacto-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/contact-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.contacto-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(250, 251, 250, 0.82) 50%,
    rgba(232, 245, 236, 0.85) 100%
  );
}

.contacto > .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-item .info-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.info-item p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
}

.info-item a {
  color: var(--accent);
  transition: color var(--trans);
}

.info-item a:hover {
  color: var(--green-dark);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all var(--trans);
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

/* ========== INSCRIÇÃO (dedicated page) ========== */
.inscricao {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

/* Enrol page: keep header transparent over hero (no forced solid state) */
.page-enroll .site-header:not(.scrolled) {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.page-inscricao {
  padding-top: 1.5rem;
  min-height: 70vh;
}

.inscricao-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/contact-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.inscricao-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(250, 251, 250, 0.82) 50%,
    rgba(232, 245, 236, 0.85) 100%
  );
}

.inscricao > .container {
  position: relative;
  z-index: 1;
}

.enroll-grid {
  display: flex;
  justify-content: center;
}

.enroll-form {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}


.form-section-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.form-section-title:first-child {
  margin-top: 0;
}

.enroll-form--wide {
  max-width: 720px;
}

.enroll-form--wide {
  max-width: 720px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-hint {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

.desktop-nav a.nav-active {
  color: var(--white);
  font-weight: 500;
}

.site-header.scrolled .desktop-nav a.nav-active {
  color: var(--accent);
}

/* Enrolment page hero — same image, slightly shorter on large screens */
.hero--enroll {
  min-height: 85vh;
}

@media (min-width: 900px) {
  .hero--enroll {
    min-height: 78vh;
  }
}

.page-enroll .page-inscricao {
  padding-top: 3rem;
}


.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-weight: 300;
  color: var(--text);
  transition: border-color var(--trans);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA39C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem 3rem;
  }
}

.footer-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 220px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-contact {
    width: auto;
    min-width: 280px;
    max-width: 360px;
  }
}

.footer-contact-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.35rem;
}

.footer-contact-item p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.85);
  transition: color var(--trans);
  border-bottom: 1px solid transparent;
}

.footer-contact-item a:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--trans);
}

.footer-social a:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

.footer-motto {
  margin-top: 0.5rem;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.5) !important;
}



/* Post-enrolment success */
.enroll-success {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.enroll-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.enroll-success-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.enroll-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.enroll-success-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.enroll-success-text strong {
  font-weight: 500;
  color: var(--text);
}

.enroll-success-steps {
  list-style: none;
  text-align: left;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 400px;
  counter-reset: step;
}

.enroll-success-steps li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2.75rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  counter-increment: step;
}

.enroll-success-steps li:last-child {
  border-bottom: none;
}

.enroll-success-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 28px;
  text-align: center;
}

.enroll-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.enroll-success-actions .btn {
  min-width: 160px;
}


.order-success {
  margin-top: 1rem;
}

.order-success-summary {
  text-align: left;
  max-width: 400px;
  margin: 0 auto 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--surface, #fafbfa);
}

.order-success-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  padding: 0.4rem 0;
}

.order-success-line--total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
  font-weight: 400;
}

.order-success-line--total strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
}

/* ========== CHECKOUT ========== */
.page-checkout .site-header {
  top: var(--announce-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}

.page-checkout .site-header .brand-name {
  color: var(--text) !important;
}

.page-checkout .site-header .brand-tagline {
  color: var(--gray-600) !important;
}

.page-checkout .site-header .ham-line {
  background: var(--text) !important;
}

.page-checkout .site-header .cart-btn {
  color: var(--text) !important;
}

.page-checkout .site-header .lang-btn {
  color: var(--gray-600) !important;
}

.page-checkout .site-header .lang-btn.active {
  color: var(--accent) !important;
}

.page-checkout .site-header .lang-divider {
  color: var(--gray-400) !important;
}

.page-checkout .site-header .desktop-nav a {
  color: var(--gray-600) !important;
}

.page-checkout .site-header .desktop-nav a:hover {
  color: var(--accent) !important;
}

.checkout-page {
  padding-top: calc(var(--header-height) + var(--announce-height) + 2.5rem);
  padding-bottom: 4rem;
  min-height: 70vh;
  background: var(--surface, #fafbfa);
}

.checkout-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .checkout-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}

.checkout-block-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.checkout-summary {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-img {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--gray-50, #f5f5f5);
}

.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-info {
  min-width: 0;
}

.checkout-item-name {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
}

.checkout-item-meta {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.checkout-item-line {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

.checkout-item-actions {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.checkout-total-row strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--accent);
}

.checkout-continue {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}

.checkout-continue:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.checkout-form {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: var(--white);
}

.checkout-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.checkout-empty p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 560px) {
  .checkout-item {
    grid-template-columns: 48px 1fr auto;
  }
  .checkout-item-img {
    width: 48px;
    height: 48px;
  }
}

/* ========== UTILITIES ========== */
@media (max-width: 899px) {
  .site-header.scrolled .brand-name,
  .site-header.scrolled .brand-tagline {
    color: var(--text);
  }
}

/* Very narrow phones: prevent brand overlapping cart/hamburger */
@media (max-width: 400px) {
  .header-inner {
    padding: 0 0.85rem;
  }
  .brand {
    max-width: calc(100% - 120px);
  }
  .brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }
  .brand-tagline {
    font-size: 0.45rem;
    letter-spacing: 0.14em;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .lang-toggle {
    gap: 3px;
  }
  .cart-btn {
    width: 36px;
    height: 36px;
  }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 2px;
}

/* ========== CART DRAWER (right) ========== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 380px;
  height: 100%;
  background: var(--surface);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--gray-200);
  box-shadow: -8px 0 30px rgba(0,0,0,0.06);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.cart-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  transition: color var(--trans);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  border: none;
  padding: 0;
}

.cart-close svg {
  pointer-events: none;
}

.cart-close:hover {
  color: var(--text);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-empty {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
  background: var(--white);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover {
  border-color: var(--accent);
  background: var(--green-soft);
}

.qty-value {
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 1.25rem;
  text-align: center;
}

.cart-item-remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  transition: color var(--trans);
  margin-left: auto;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cart-item-remove svg,
.cart-item-remove path {
  pointer-events: none;
}

.cart-item-remove:hover,
.cart-item-remove:active {
  color: #c0392b;
}

.cart-footer {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.cart-footer[hidden] {
  display: none !important;
}

.cart-footer .btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cart-total-row strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
}

.cart-clear {
  font-size: 0.75rem !important;
  padding: 0.65rem !important;
}

body.cart-open {
  overflow: hidden;
}
