/* ============================================
   PAGE D'ACCUEIL - Design Saint-Valentin
   ============================================ */

.page-home {
  --home-radius: 12px;
  --home-radius-lg: 20px;
}

/* ----- Top bar promo ----- */
.top-bar {
  background: linear-gradient(90deg, #0c3b5c 0%, #16537a 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
}
.top-bar-valentin {
  background: linear-gradient(90deg, #b8345e 0%, #d4477a 50%, #e85a8c 100%);
  box-shadow: 0 2px 12px rgba(184, 52, 94, 0.3);
}
.top-bar-inner { padding: 0 !important; }
.top-bar-text { opacity: 0.95; }
@media (min-width: 768px) {
  .top-bar { font-size: 0.9rem; }
}

/* ----- Hero boutique ----- */
.hero-home {
  position: relative;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2f4a 0%, #1a5276 40%, #2874a6 100%);
}
.hero-home-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Huîtres sur glace - Unsplash, libre de droits */
  background: url("https://images.unsplash.com/photo-1633321094192-388268512e0f?w=1920&q=75") center/cover;
  opacity: 0.35;
}
/* ----- Hero Saint-Valentin ----- */
.hero-valentin-bg {
  background: linear-gradient(135deg, #8b1538 0%, #b8345e 30%, #1a5276 100%);
}
.hero-valentin-bg::before {
  opacity: 0.4;
}
.hero-valentin-overlay {
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 182, 193, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 40%);
}
.hero-valentin-label {
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.2em;
}
.hero-valentin-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 2px, transparent 2px);
  background-size: 80px 80px, 120px 120px, 100px 100px;
  opacity: 0.8;
}
.btn-valentin {
  background: linear-gradient(135deg, #d4477a 0%, #e85a8c 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(184, 52, 94, 0.4);
}
.btn-valentin:hover {
  background: linear-gradient(135deg, #c93d6e 0%, #d4477a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 52, 94, 0.5);
}
.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-home-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
}
.hero-home-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-home-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  opacity: 0.92;
}
.hero-home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--home-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: #c9a227;
  color: #fff !important;
}
.btn-primary:hover {
  background: #b8921f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}
.btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline-ocean {
  background: transparent;
  color: var(--color-ocean) !important;
  border-color: var(--color-ocean);
}
.btn-outline-ocean:hover {
  background: var(--color-ocean);
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ----- Bannières sites ----- */
.site-banners {
  padding: 3rem 0;
  background: #f5f8fa;
}
.site-banners-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-deep);
  margin: 0 0 2rem;
}
.site-banners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .site-banners-grid { grid-template-columns: 1fr 1fr; }
}

.site-banner {
  position: relative;
  display: block;
  padding: 1.75rem 2rem;
  border-radius: var(--home-radius-lg);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 140px;
}
.site-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12, 59, 92, 0.2);
}
.site-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-banner-main {
  background: linear-gradient(135deg, #0c3b5c 0%, #1a5276 100%);
}
.site-banner-main .site-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 20c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10z' fill='none' stroke='%23fff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}
.site-banner-maree {
  background: linear-gradient(135deg, #1a5276 0%, #2874a6 100%);
}
.site-banner-maree .site-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M0 25 Q25 15 50 25 T100 25' fill='none' stroke='%23fff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E") repeat-x bottom;
  opacity: 0.8;
}
.site-banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: space-between;
}
.site-banner-domain {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-banner-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}
.site-banner-arrow {
  font-size: 1.5rem;
  opacity: 0.8;
  align-self: flex-end;
  transition: transform 0.2s ease;
}
.site-banner:hover .site-banner-arrow {
  transform: translateX(4px);
}

/* ----- Trust strip ----- */
.trust-strip {
  background: #fff;
  padding: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(12, 59, 92, 0.06);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ocean);
}
.trust-strip-icon { font-size: 1.25rem; }

/* ----- Section header ----- */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-deep);
  margin: 0 0 0.5rem;
}
.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ----- Pictos Nos univers ----- */
.univers-pictos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.univers-picto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.univers-picto-icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: grayscale(0.2);
}
.univers-picto-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ocean);
}
.univers-seo-text {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
}
.univers-seo-text p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.univers-seo-text p:last-child { margin-bottom: 0; }
.univers-categories-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-deep);
  text-align: center;
  margin: 0 0 1.5rem;
}

/* ----- Section SEO ----- */
.section-seo {
  padding: 2rem 0;
  background: #fff;
}
.seo-content {
  max-width: 680px;
  margin: 0 auto;
}
.seo-content p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ----- Catégories ----- */
.section-categories {
  padding: 4rem 0;
  background: #fff;
}
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  border-radius: var(--home-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 59, 92, 0.12);
}
.category-tile-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.category-tile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-tile:hover .category-tile-img-wrap img {
  transform: scale(1.05);
}
.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 59, 92, 0.4) 0%, transparent 50%);
  pointer-events: none;
}
.category-tile-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.category-tile-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-deep);
  margin: 0 0 0.25rem;
}
.category-tile-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  flex: 1;
}
.category-tile-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-coastal);
  transition: color 0.2s ease;
}
.category-tile:hover .category-tile-link {
  color: var(--color-gold);
}

/* ----- Produits phares ----- */
.section-featured {
  padding: 4rem 0;
  background: var(--color-cream);
}
.section-featured .product-grid {
  margin-bottom: 2rem;
}
.section-cta {
  text-align: center;
}
.section-cta .btn { margin-top: 0.5rem; }
.fiche-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-coastal);
  text-decoration: none;
  font-weight: 500;
}
.fiche-link:hover { color: var(--color-gold); text-decoration: underline; }

/* ----- Why ----- */
.section-why {
  padding: 4rem 0;
  background: #fff;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .why-cards { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-cream);
  border-radius: var(--home-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 59, 92, 0.08);
}
.why-card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-deep);
  margin: 0 0 0.5rem;
}
.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ----- CTA final ----- */
.cta-final {
  padding: 4rem 1.5rem;
  background: linear-gradient(145deg, #0c3b5c 0%, #1a5276 100%);
  color: #fff;
  text-align: center;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: inherit;
}
.cta-final p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
  font-size: 1rem;
}
.cta-final .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}
.cta-final-valentin {
  background: linear-gradient(145deg, #8b1538 0%, #b8345e 50%, #1a5276 100%) !important;
}

/* ----- Top 10 idées cadeaux Saint-Valentin ----- */
.section-top10-valentin {
  padding: 4rem 0;
  background: linear-gradient(180deg, #fff5f8 0%, #fff 50%);
  border-top: 1px solid rgba(184, 52, 94, 0.08);
}
.section-header-valentin .top10-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, rgba(184, 52, 94, 0.12) 0%, rgba(232, 90, 140, 0.08) 100%);
  color: #b8345e;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
}
.section-header-valentin h2 {
  color: #8b1538;
}
.top10-list {
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0 0 0 1.75rem;
  counter-reset: top10;
}
.top10-list li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  line-height: 1.6;
  color: var(--color-text);
}
.top10-list li::marker {
  color: #d4477a;
  font-weight: 700;
}
.top10-list a {
  color: var(--color-coastal);
  font-weight: 600;
  text-decoration: none;
}
.top10-list a:hover {
  color: #b8345e;
  text-decoration: underline;
}
.top10-cta {
  text-align: center;
}

/* ----- Couleurs Saint-Valentin pour page-home ----- */
.page-home .trust-strip-item { color: #b8345e; }
.page-home .section-header h2 { color: #8b1538; }
.page-home .univers-picto-label { color: #b8345e; }
.page-home .category-tile-link { color: #b8345e; }
.page-home .category-tile:hover .category-tile-link { color: #d4477a; }
.page-home .site-banners-title { color: #8b1538; }
.page-home .site-banner-main { background: linear-gradient(135deg, #8b1538 0%, #b8345e 100%); }
.page-home .site-banner-maree { background: linear-gradient(135deg, #b8345e 0%, #d4477a 100%); }
.page-home .site-banner:hover { box-shadow: 0 12px 40px rgba(184, 52, 94, 0.25); }
.page-home .section-categories { background: linear-gradient(180deg, #fff 0%, #fff9fb 100%); }
.page-home .section-featured { background: linear-gradient(180deg, #fff9fb 0%, var(--color-cream) 100%); }
.page-home .fiche-link { color: #b8345e; }
.page-home .fiche-link:hover { color: #d4477a; }
.page-home .btn-primary { background: linear-gradient(135deg, #d4477a 0%, #e85a8c 100%) !important; }
.page-home .btn-primary:hover { background: linear-gradient(135deg, #c93d6e 0%, #d4477a 100%) !important; box-shadow: 0 8px 24px rgba(184, 52, 94, 0.4); }
.page-home .cta-product {
  background: #fff !important;
  color: #b8345e !important;
  border: 2px solid #b8345e;
}
.page-home .cta-product:hover {
  background: #fff5f8 !important;
  color: #8b1538 !important;
  border-color: #8b1538;
}
