/* ==========================================================================
   RAVITO — LAYOUT (header, footer, hero, bande plateformes)
   ========================================================================== */

/* --- Bannière home --- */
.ravito-announcement-wrap {
  position: relative;
  background: var(--ravito-olive-900);
  line-height: 0;
}
.ravito-announcement { display: block; }
.ravito-announcement__image { width: 100%; height: auto; display: block; max-height: 500px; object-fit: cover; }
.ravito-announcement__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(34, 36, 26, 0.75);
  border: 1px solid var(--ravito-border-strong);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ravito-text-primary);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ravito-announcement__close:hover { background: var(--ravito-olive-800); }
.ravito-announcement__close i { font-size: 16px; }

/* --- Header --- */
.ravito-header {
  border-bottom: 1px solid var(--ravito-border);
  background: var(--ravito-olive-900);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ravito-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.ravito-header__logo {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--ravito-stencil-yellow-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
}
.ravito-header__logo img,
.ravito-header__logo .custom-logo { max-height: 40px; width: auto; display: block; }
.ravito-header__menu { display: flex; gap: 18px; }
.ravito-header__menu a {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ravito-text-secondary);
  transition: color 0.15s ease;
}
.ravito-header__menu a:hover { color: var(--ravito-stencil-yellow); }

.ravito-header__actions { display: flex; align-items: center; gap: 16px; }
.ravito-header__icon-link { position: relative; font-size: 18px; color: var(--ravito-text-secondary); }
.ravito-header__icon-link:hover { color: var(--ravito-text-primary); }
.ravito-header__cart-count {
  position: absolute;
  top: -6px;
  right: -9px;
  background: var(--ravito-stencil-yellow);
  color: var(--ravito-stencil-yellow-text);
  font-family: var(--ravito-font-mono);
  font-size: 9px;
  font-weight: 600;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ravito-header__burger { display: none; background: none; border: none; color: var(--ravito-text-primary); font-size: 20px; cursor: pointer; }

@media (max-width: 780px) {
  .ravito-header__nav { display: none; }
  .ravito-header__burger { display: block; }
}

/* --- Hero --- */
.ravito-hero { padding: 44px 0 36px; text-align: center; }
.ravito-hero__title {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.3;
  margin: 18px 0 14px;
}
.ravito-hero__subtitle {
  color: var(--ravito-text-secondary);
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 14px;
}
.ravito-hero__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- Bande plateformes --- */
.ravito-platform-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ravito-border);
  border-bottom: 1px solid var(--ravito-border);
}
.ravito-platform-strip__item {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid var(--ravito-border);
  color: var(--ravito-text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ravito-platform-strip__item:last-child { border-right: none; }
.ravito-platform-strip__item:hover { background: var(--ravito-olive-800); color: var(--ravito-text-primary); }
.ravito-platform-strip__item i { font-size: 20px; color: var(--ravito-stencil-yellow); display: block; margin-bottom: 6px; }
.ravito-platform-strip__item span {
  font-family: var(--ravito-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .ravito-platform-strip { grid-template-columns: repeat(5, 1fr); }
  .ravito-platform-strip__item { padding: 12px 4px; }
  .ravito-platform-strip__item span { font-size: 9px; }
}

.ravito-home-products { padding: 28px 0 48px; }

/* --- Footer --- */
.ravito-footer { border-top: 1px solid var(--ravito-border); margin-top: 40px; }
.ravito-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 20px;
}
.ravito-footer__logo { font-size: 15px; letter-spacing: 2px; color: var(--ravito-stencil-yellow-dark); margin: 0 0 4px; }
.ravito-footer__tagline { font-size: 12px; color: var(--ravito-text-muted); margin: 0; }
.ravito-footer__menu { display: flex; gap: 16px; }
.ravito-footer__menu a { font-size: 11px; letter-spacing: 0.5px; color: var(--ravito-text-secondary); }
.ravito-footer__menu a:hover { color: var(--ravito-stencil-yellow); }
.ravito-footer__credit { font-size: 11px; color: var(--ravito-text-muted); }
.ravito-footer__credit a { color: var(--ravito-stencil-yellow-dark); }
