/** Shopify CDN: Minification failed

Line 42:0 All "@import" rules must come first

**/
/* ============================================
   BOHÈME CERAMIC — Custom Design System
   ============================================ */

/* --- Brand Palette --- */
:root {
  --ag-olive: #9B9B7A;
  --ag-olive-light: #B5B199;
  --ag-olive-dark: #7A7A5E;
  --ag-terracotta: #C67A3C;
  --ag-terracotta-light: #D4956A;
  --ag-terracotta-dark: #A8612B;
  --ag-cream: #F5F0E8;
  --ag-cream-dark: #E8E0D0;
  --ag-gold: #D4A853;
  --ag-brown-dark: #3D3226;
  --ag-brown: #5C4A3A;
  --ag-white: #FDFCFA;
  --ag-black: #1A1714;

  /* Typography */
  --ag-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ag-font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --ag-font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --ag-section-padding: clamp(60px, 8vw, 120px);
  --ag-container-width: 1280px;
  --ag-gap: clamp(16px, 2vw, 32px);

  /* Transitions */
  --ag-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ag-transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

/* --- Base AG Utilities --- */
.ag-container {
  max-width: var(--ag-container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.ag-section {
  padding: var(--ag-section-padding) 0;
}

.ag-heading {
  font-family: var(--ag-font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ag-brown-dark);
}

.ag-heading--xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.ag-heading--lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.ag-heading--md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.ag-heading--sm {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.ag-text {
  font-family: var(--ag-font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ag-brown);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.ag-accent-text {
  font-family: var(--ag-font-accent);
  font-style: italic;
  color: var(--ag-terracotta);
}

/* --- Buttons --- */
.ag-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ag-font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: var(--ag-transition);
  position: relative;
}

.ag-btn--primary {
  background: var(--ag-brown-dark);
  color: var(--ag-cream);
}

.ag-btn--primary:hover {
  background: var(--ag-terracotta);
  color: var(--ag-white);
}

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

.ag-btn--outline:hover {
  background: var(--ag-brown-dark);
  color: var(--ag-cream);
}

.ag-btn--cream {
  background: var(--ag-cream);
  color: var(--ag-brown-dark);
}

.ag-btn--cream:hover {
  background: var(--ag-white);
  color: var(--ag-terracotta);
}

/* Focus states for accessibility */
.ag-btn:focus-visible {
  outline: 2px solid var(--ag-terracotta);
  outline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--ag-terracotta);
  outline-offset: 2px;
}

/* Button with icon alignment */
.ag-btn svg {
  vertical-align: middle;
}

/* --- Divider --- */
.ag-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.ag-divider::before,
.ag-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ag-olive-light);
}

.ag-divider__icon {
  color: var(--ag-terracotta);
  font-size: 1.2rem;
}

/* --- Reveal Animations --- */
.ag-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ag-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ag-reveal--delay-1 { transition-delay: 0.1s; }
.ag-reveal--delay-2 { transition-delay: 0.2s; }
.ag-reveal--delay-3 { transition-delay: 0.3s; }
.ag-reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================
   AG-HERO
   ============================================ */
.ag-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ag-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ag-hero__media img,
.ag-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ag-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 40px;
}

.ag-hero__subtitle {
  font-family: var(--ag-font-accent);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--ag-cream);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.ag-hero__title {
  font-family: var(--ag-font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 500;
  color: var(--ag-white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ag-hero__description {
  font-family: var(--ag-font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ag-cream);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
}

.ag-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ag-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ag-cream);
  font-family: var(--ag-font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: ag-bounce 2s infinite;
}

.ag-hero__scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes ag-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Hero height variants */
.ag-hero--full { min-height: 100vh; }
.ag-hero--large { min-height: 85vh; }
.ag-hero--medium { min-height: 70vh; }

/* ============================================
   AG-BRAND-STORY
   ============================================ */
.ag-brand-story {
  background: var(--ag-cream);
  overflow: hidden;
}

.ag-brand-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.ag-brand-story__image-wrapper {
  position: relative;
  overflow: hidden;
}

.ag-brand-story__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform var(--ag-transition-slow);
}

.ag-brand-story__image-wrapper:hover img {
  transform: scale(1.03);
}

.ag-brand-story__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--ag-terracotta);
  opacity: 0.15;
  border-radius: 50%;
}

.ag-brand-story__content {
  padding: clamp(20px, 4vw, 60px) 0;
}

.ag-brand-story__label {
  font-family: var(--ag-font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ag-terracotta);
  margin-bottom: 20px;
}

.ag-brand-story__title {
  font-family: var(--ag-font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--ag-brown-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.ag-brand-story__title-accent {
  font-family: var(--ag-font-accent);
  font-style: italic;
  color: var(--ag-terracotta);
  display: block;
}

.ag-brand-story__text {
  font-family: var(--ag-font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ag-brown);
  margin-bottom: 16px;
}

.ag-brand-story__signature {
  font-family: var(--ag-font-accent);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ag-terracotta);
  margin-top: 24px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .ag-brand-story__grid {
    grid-template-columns: 1fr;
  }
  .ag-brand-story__image-wrapper img {
    aspect-ratio: 3/2;
  }
}

/* ============================================
   AG-SERVICES
   ============================================ */
.ag-services {
  background: var(--ag-white);
}

.ag-services__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

.ag-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--ag-gap);
}

.ag-services__card {
  position: relative;
  overflow: hidden;
  background: var(--ag-cream);
  transition: var(--ag-transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.ag-services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(61, 50, 38, 0.1);
}

.ag-services__card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--ag-transition-slow);
}

.ag-services__card:hover .ag-services__card-image {
  transform: scale(1.05);
}

.ag-services__card-image-wrapper {
  overflow: hidden;
}

.ag-services__card-body {
  padding: clamp(24px, 3vw, 36px);
}

.ag-services__card-label {
  font-family: var(--ag-font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ag-terracotta);
  margin-bottom: 12px;
}

.ag-services__card-title {
  font-family: var(--ag-font-heading);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--ag-brown-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ag-services__card-text {
  font-family: var(--ag-font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ag-brown);
  margin-bottom: 20px;
}

.ag-services__card-link {
  font-family: var(--ag-font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ag-brown-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--ag-transition);
}

.ag-services__card:hover .ag-services__card-link {
  color: var(--ag-terracotta);
  gap: 14px;
}

.ag-services__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ag-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ag-white);
  background: var(--ag-brown-dark);
  padding: 10px 20px;
  border-radius: 2px;
  margin-top: auto;
  transition: var(--ag-transition);
}

.ag-services__card:hover .ag-services__card-btn {
  background: var(--ag-terracotta);
}

.ag-services__card-btn svg {
  transition: transform var(--ag-transition);
}

.ag-services__card:hover .ag-services__card-btn svg {
  transform: translateX(4px);
}

.ag-services__card-body {
  display: flex;
  flex-direction: column;
}

/* ============================================
   AG-FOOTER
   ============================================ */
.ag-footer {
  background: var(--ag-brown-dark);
  color: var(--ag-cream);
}

.ag-footer a {
  color: var(--ag-cream);
  text-decoration: none;
  transition: var(--ag-transition);
}

.ag-footer a:hover {
  color: var(--ag-terracotta-light);
}

/* Footer top - Newsletter */
.ag-footer__newsletter {
  text-align: center;
  padding: clamp(50px, 8vw, 100px) 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.ag-footer__newsletter-title {
  font-family: var(--ag-font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--ag-cream);
  margin-bottom: 12px;
}

.ag-footer__newsletter-subtitle {
  font-family: var(--ag-font-accent);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ag-olive-light);
  margin-bottom: 32px;
}

.ag-footer__newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.ag-footer__newsletter-input,
.ag-footer .ag-footer__newsletter-input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  background: rgba(245, 240, 232, 0.12) !important;
  border: 1px solid rgba(245, 240, 232, 0.3) !important;
  border-right: none !important;
  color: #fff !important;
  font-family: var(--ag-font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--ag-transition);
  border-radius: 0;
  -webkit-appearance: none;
}

.ag-footer__newsletter-input::placeholder {
  color: rgba(245, 240, 232, 0.55) !important;
}

.ag-footer__newsletter-input:focus,
.ag-footer .ag-footer__newsletter-input[type="email"]:focus {
  border-color: var(--ag-terracotta) !important;
  background: rgba(245, 240, 232, 0.18) !important;
  box-shadow: none;
}

.ag-footer__newsletter-btn {
  padding: 16px 28px;
  background: var(--ag-terracotta);
  color: var(--ag-white);
  border: 1px solid var(--ag-terracotta);
  font-family: var(--ag-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--ag-transition);
  white-space: nowrap;
}

.ag-footer__newsletter-btn:hover {
  background: var(--ag-terracotta-dark);
  border-color: var(--ag-terracotta-dark);
}

@media (max-width: 500px) {
  .ag-footer__newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  .ag-footer__newsletter-input,
  .ag-footer .ag-footer__newsletter-input[type="email"] {
    border-right: 1px solid rgba(245, 240, 232, 0.3) !important;
  }
}

/* Footer main grid */
.ag-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr) 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(50px, 6vw, 80px) 0;
}

@media (max-width: 1100px) {
  .ag-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .ag-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .ag-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ag-footer__grid {
    grid-template-columns: 1fr;
  }
}

.ag-footer__brand-description {
  font-family: var(--ag-font-body);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.7);
  margin: 20px 0 24px;
}

.ag-footer__social {
  display: flex;
  gap: 16px;
}

.ag-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 50%;
  transition: var(--ag-transition);
}

.ag-footer__social-link:hover {
  background: var(--ag-terracotta);
  border-color: var(--ag-terracotta);
  color: var(--ag-white);
}

.ag-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ag-footer__column-title {
  font-family: var(--ag-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ag-cream);
  margin-bottom: 24px;
}

.ag-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ag-footer__links a {
  font-family: var(--ag-font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
}

.ag-footer__links a:hover {
  color: var(--ag-terracotta-light);
  padding-left: 4px;
}

.ag-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--ag-font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 16px;
}

.ag-footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--ag-terracotta);
}

/* Footer bottom */
.ag-footer__bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.ag-footer__bottom > .ag-footer__copyright {
  justify-self: start;
}

.ag-footer__bottom > .ag-footer__credit {
  justify-self: center;
  text-align: center;
}

.ag-footer__bottom > .ag-footer__payment-icons {
  justify-self: end;
}

@media (max-width: 640px) {
  .ag-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .ag-footer__bottom > .ag-footer__copyright,
  .ag-footer__bottom > .ag-footer__credit,
  .ag-footer__bottom > .ag-footer__payment-icons {
    justify-self: center;
  }
}

.ag-footer__copyright {
  font-family: var(--ag-font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
}

.ag-footer__credit {
  font-family: var(--ag-font-body);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.35);
  margin: 0;
}

.ag-footer__credit-link {
  font-family: var(--ag-font-accent);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(245, 240, 232, 0.75);
  text-decoration: none;
  margin-left: 4px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.ag-footer__credit-link:hover {
  color: var(--ag-terracotta-light);
}

.ag-footer__payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ag-footer__payment-icons svg {
  width: 38px;
  height: 24px;
  fill: rgba(245, 240, 232, 0.3);
}

/* Bottom padding for sticky mobile CTA */
@media (max-width: 768px) {
  .ag-footer__bottom {
    padding-bottom: 80px;
  }
}

/* ============================================
   AG Scroll Reveal Script Helper
   ============================================ */
/* Intersection observer targets */
[data-ag-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-ag-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CRO OPTIMIZATIONS — Conversion-focused tweaks
   ============================================ */

/* --- Enhanced CTAs (élévation, contraste, micro-interaction) --- */
.ag-btn {
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.13em;
  will-change: transform, box-shadow;
}

.ag-btn--primary {
  background: var(--ag-terracotta);
  color: var(--ag-white);
  box-shadow: 0 2px 8px rgba(168, 97, 43, 0.18);
}

.ag-btn--primary:hover {
  background: var(--ag-terracotta-dark);
  color: var(--ag-white);
  box-shadow: 0 8px 24px rgba(168, 97, 43, 0.32);
  transform: translateY(-2px);
}

.ag-btn--outline {
  border-width: 1.5px;
}

.ag-btn--outline:hover {
  background: var(--ag-brown-dark);
  color: var(--ag-cream);
  box-shadow: 0 8px 24px rgba(61, 50, 38, 0.25);
  transform: translateY(-2px);
}

.ag-btn--cream:hover {
  box-shadow: 0 8px 24px rgba(245, 240, 232, 0.4);
  transform: translateY(-2px);
}

/* --- Hero impact renforcé --- */
.ag-hero__title,
.ag-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem) !important;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.ag-hero__subtitle,
.ag-hero .ag-accent-text {
  font-size: clamp(1rem, 1.6vw, 1.4rem) !important;
  letter-spacing: 0.18em;
}

.ag-hero__description {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 580px;
  line-height: 1.65;
}

.ag-hero__buttons,
.ag-hero__cta {
  gap: 16px;
  margin-top: 36px;
}

/* Slow ken-burns effect on hero image */
.ag-hero__media img,
.ag-hero__image img {
  animation: ag-kenburns 18s ease-out forwards;
  will-change: transform;
}

@keyframes ag-kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.10); }
}

/* --- Cards micro-interactions (collections, services, products) --- */
.ag-showcase__item,
.ag-services__card,
.ag-collections__card,
.ag-products__card {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}

.ag-showcase__item:hover,
.ag-services__card:hover,
.ag-collections__card:hover,
.ag-products__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(61, 50, 38, 0.12);
}

.ag-showcase__img,
.ag-services__card-image,
.ag-collections__card-image {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ag-showcase__item:hover .ag-showcase__img,
.ag-services__card:hover .ag-services__card-image,
.ag-collections__card:hover .ag-collections__card-image {
  transform: scale(1.05);
}

/* --- Section breathing — better vertical rhythm --- */
.ag-section + .ag-section {
  margin-top: 0;
}

.ag-services,
.ag-featured-collections,
.ag-product-showcase {
  padding-top: clamp(70px, 9vw, 130px);
  padding-bottom: clamp(70px, 9vw, 130px);
}

/* --- Headers : titres de section plus impactants --- */
.ag-heading--lg {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.ag-heading--md {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
}

/* --- Banner CTA (atelier) — boost visibilité --- */
.ag-banner-cta {
  position: relative;
  overflow: hidden;
}

.ag-banner-cta__title {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
}

.ag-banner-cta__countdown {
  margin: 28px 0 32px;
}

.ag-banner-cta .ag-btn--primary {
  font-size: 0.95rem;
  padding: 18px 42px;
}

/* Pulse on the spots indicator */
.ag-banner-cta__spots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ag-banner-cta__spots::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  animation: ag-pulse 2s infinite;
}

@keyframes ag-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* --- Marquee (trust bar) — meilleur contraste --- */
.ag-marquee {
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

/* --- FAQ — meilleur état hover/focus --- */
.ag-faq__question {
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.ag-faq__item:hover .ag-faq__question {
  background-color: rgba(198, 122, 60, 0.04);
}

.ag-faq__item.is-open .ag-faq__question {
  background-color: rgba(198, 122, 60, 0.06);
}

/* --- Instagram feed hover --- */
.ag-instagram__post {
  position: relative;
  overflow: hidden;
}

.ag-instagram__post img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
}

.ag-instagram__post:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

/* --- Mobile-first CTA optimizations --- */
@media (max-width: 768px) {
  .ag-hero__buttons .ag-btn,
  .ag-hero__cta .ag-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    font-size: 0.85rem;
  }

  .ag-hero__buttons,
  .ag-hero__cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .ag-banner-cta .ag-btn {
    width: 100%;
    justify-content: center;
  }

  .ag-banner-cta__buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Plus de breathing room sur mobile */
  .ag-section,
  .ag-services,
  .ag-featured-collections,
  .ag-product-showcase {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Padding bottom pour ne pas être masqué par le sticky CTA */
  body {
    padding-bottom: 70px;
  }
}

/* --- Smooth scroll behavior --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* --- Reduced motion : respect user preference --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   HEADER OVERRIDES — visibilité & élégance
   ============================================ */

/* Fond cream Bohème + bordure subtile */
.ag-header__bar {
  background: var(--ag-cream) !important;
  border-bottom: 1px solid rgba(155, 155, 122, 0.18);
  box-shadow: none !important;
}

.ag-header.is-scrolled .ag-header__bar {
  background: var(--ag-cream) !important;
  box-shadow: 0 2px 12px rgba(61, 50, 38, 0.06) !important;
}

/* Logo text (fallback quand pas d'image) — plus impactant */
.ag-header__logo-text {
  font-family: var(--ag-font-heading) !important;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem) !important;
  font-weight: 600 !important;
  color: var(--ag-brown-dark) !important;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Force colors back to brown even in transparent mode (since theme.liquid doesn't actually overlay header on hero) */
.ag-header--transparent .ag-header__bar { background: var(--ag-cream) !important; }
.ag-header--transparent .ag-header__nav-link,
.ag-header--transparent .ag-header__action,
.ag-header--transparent .ag-header__menu-toggle,
.ag-header--transparent .ag-header__logo-text {
  color: var(--ag-brown-dark) !important;
}

/* Nav link hover plus marqué */
.ag-header__nav-link {
  font-weight: 500 !important;
  position: relative;
}

.ag-header__nav-link::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--ag-terracotta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.ag-header__nav-link:hover::after,
.ag-header__nav-link.is-active::after {
  transform: scaleX(1);
}

/* Cart bubble hover */
.ag-header__action:hover {
  color: var(--ag-terracotta) !important;
}

/* Spacing inner — meilleur équilibre */
.ag-header__inner {
  padding: 0 24px;
}

/* Sur mobile, le logo doit rester centré ou bien aligné */
@media (max-width: 900px) {
  .ag-header__inner {
    padding: 0 16px;
  }
  .ag-header__logo {
    margin-left: 0;
  }
  .ag-header__logo-text {
    font-size: 1.1rem !important;
  }
}

/* Announcement bar (ag-announcement) — style plus net */
.ag-announcement {
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

/* ============================================
   2026 DESIGN SYSTEM UPGRADE — DA poterie moderne
   ============================================ */

/* --- @property pour animer gradients et color-mix --- */
@property --ag-grad-angle {
  syntax: '<angle>';
  initial-value: 135deg;
  inherits: false;
}

@property --ag-grad-stop {
  syntax: '<percentage>';
  initial-value: 50%;
  inherits: false;
}

/* --- Ornements SVG inline (vars réutilisables) --- */
:root {
  /* Grain / noise analogique pour overlay texture */
  --ag-grain-url: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");

  /* Divider 3 feuilles hand-drawn (stroke terracotta) */
  --ag-divider-leaf: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='20' viewBox='0 0 80 20' fill='none' stroke='%23C67A3C' stroke-width='1.2' stroke-linecap='round'><path d='M2 10 L28 10'/><path d='M52 10 L78 10'/><path d='M36 10 c0 -4 2 -6 4 -6 s4 2 4 6 c0 4 -2 6 -4 6 s-4 -2 -4 -6z'/><path d='M30 10 c-2 -2 -3 -3 -4 -4'/><path d='M50 10 c2 -2 3 -3 4 -4'/></svg>");

  /* Branche feuille simple (pour séparateurs marquee) */
  --ag-leaf-sep: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%23C67A3C' stroke-width='1.2' stroke-linecap='round'><path d='M9 2 c-3 3 -4 6 -4 9 c0 3 2 4 4 4 s4 -1 4 -4 c0 -3 -1 -6 -4 -9z'/><path d='M9 5 L9 15'/></svg>");

  /* Flèche décorative organique */
  --ag-arrow-org: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C67A3C' stroke-width='1.3' stroke-linecap='round'><path d='M12 4 L12 20'/><path d='M7 15 c2 3 4 4 5 5 c1 -1 3 -2 5 -5'/></svg>");
}

/* --- Utilities 2026 --- */

/* Overline / surtitre unifié (pattern Le Paraïs) */
.ag-label--overline {
  font-family: var(--ag-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ag-olive-dark);
  margin: 0 0 18px;
  display: inline-block;
}

/* Split title : Playfair + Cormorant italique sur 2 lignes */
.ag-title--split {
  font-family: var(--ag-font-heading);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ag-brown-dark);
  margin: 0;
}

.ag-title--split .ag-title__accent {
  display: block;
  font-family: var(--ag-font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--ag-terracotta);
  font-size: 0.72em;
  margin-top: -0.05em;
  letter-spacing: 0;
}

/* Dropcap — première lettre éditoriale */
.ag-dropcap::first-letter {
  font-family: var(--ag-font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 3.8em;
  float: left;
  line-height: 0.9;
  margin: 0.1em 0.12em 0 0;
  color: var(--ag-terracotta);
}

/* Texture grain overlay — pseudo-element à poser sur n'importe quel parent */
.ag-texture-grain {
  position: relative;
  isolation: isolate;
}

.ag-texture-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ag-grain-url);
  background-size: 220px 220px;
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.ag-texture-grain > * {
  position: relative;
  z-index: 2;
}

/* Divider ornemental 3-feuilles — remplacement des <hr> */
.ag-divider--organic {
  display: block;
  width: 80px;
  height: 20px;
  background-image: var(--ag-divider-leaf);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 20px auto;
  border: none;
}

/* --- Scroll-driven animations (CSS natives 2026) ---
   Fallback : les sections gardent leur reveal JS existant.
   Quand supporté, override en pure CSS (offload compositor). */

@keyframes ag-fade-up-scroll {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ag-scale-in-scroll {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@supports (animation-timeline: view()) {
  .ag-reveal--scroll {
    animation: ag-fade-up-scroll linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
  }

  .ag-reveal--scale {
    animation: ag-scale-in-scroll linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
  }
}

/* Respecter prefers-reduced-motion partout */
@media (prefers-reduced-motion: reduce) {
  .ag-reveal--scroll,
  .ag-reveal--scale {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  [data-ag-reveal] {
    transition: none !important;
  }
}

/* --- Perf : content-visibility sur sections below-the-fold ---
   Appliqué manuellement via classe sur les sections lourdes. */
.ag-section--deferred {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}


/* ============================================================
   AG — Pages de policies (CGV, Remboursement, Expédition, etc.)
   Cible le rendu natif Horizon `.shopify-policy__container`
   ============================================================ */

.shopify-policy__container,
.ag-policy-page {
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 40px) clamp(60px, 7vw, 100px) !important;
}

/* === Header === */
.shopify-policy__title,
.ag-policy-page__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(30px, 4vw, 50px);
  border-bottom: 1px solid rgba(155, 155, 122, 0.25);
}

.ag-policy-page__eyebrow {
  font-family: var(--ag-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ag-terracotta);
  margin: 0 0 12px;
}

.shopify-policy__title h1,
.ag-policy-page__header h1 {
  font-family: var(--ag-font-heading) !important;
  font-weight: 500 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.15 !important;
  color: var(--ag-brown-dark) !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

/* === Body : la `.rte` à l'intérieur === */
.shopify-policy__body .rte,
.ag-policy-page__body .rte {
  font-family: var(--ag-font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ag-brown);
}

/* "Dernière mise à jour" en pill discret */
.shopify-policy__body .rte > div > p:first-child em,
.shopify-policy__body .rte > p:first-child em {
  display: inline-block;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ag-olive-dark);
  background: rgba(155, 155, 122, 0.12);
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

/* === Hiérarchie des titres : on tue le clamp Horizon === */
.shopify-policy__body .rte h2,
.ag-policy-page__body .rte h2 {
  font-family: var(--ag-font-heading) !important;
  font-weight: 500 !important;
  font-size: clamp(1.4rem, 2vw, 1.75rem) !important;
  line-height: 1.3 !important;
  color: var(--ag-brown-dark) !important;
  margin: clamp(40px, 4.5vw, 60px) 0 14px !important;
  padding-top: clamp(24px, 3vw, 32px) !important;
  border-top: 1px solid rgba(155, 155, 122, 0.18);
}

.shopify-policy__body .rte h2:first-of-type,
.shopify-policy__body .rte > div > h2:first-of-type,
.shopify-policy__body .rte > div > p:first-child + h2,
.ag-policy-page__body .rte h2:first-of-type {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 8px !important;
}

.shopify-policy__body .rte h3,
.ag-policy-page__body .rte h3 {
  font-family: var(--ag-font-heading) !important;
  font-weight: 500 !important;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  color: var(--ag-brown-dark) !important;
  margin: 26px 0 8px !important;
}

.shopify-policy__body .rte p,
.ag-policy-page__body .rte p {
  margin: 0 0 16px;
}

.shopify-policy__body .rte a,
.ag-policy-page__body .rte a {
  color: var(--ag-terracotta);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 97, 43, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.shopify-policy__body .rte a:hover,
.ag-policy-page__body .rte a:hover {
  color: var(--ag-terracotta-dark);
  border-color: var(--ag-terracotta-dark);
}

.shopify-policy__body .rte strong,
.ag-policy-page__body .rte strong {
  color: var(--ag-brown-dark);
  font-weight: 600;
}

.shopify-policy__body .rte ul,
.shopify-policy__body .rte ol,
.ag-policy-page__body .rte ul,
.ag-policy-page__body .rte ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.shopify-policy__body .rte li,
.ag-policy-page__body .rte li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.shopify-policy__body .rte li::marker,
.ag-policy-page__body .rte li::marker {
  color: var(--ag-terracotta);
}

/* Tables (politique d'expédition) */
.shopify-policy__body .rte table,
.ag-policy-page__body .rte table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.92rem;
  background: var(--ag-cream);
  border: 1px solid rgba(155, 155, 122, 0.25);
  border-radius: 4px;
  overflow: hidden;
}

.shopify-policy__body .rte thead,
.ag-policy-page__body .rte thead {
  background: rgba(168, 97, 43, 0.08) !important;
  text-transform: none !important;
  font-weight: normal !important;
}

.shopify-policy__body .rte th,
.ag-policy-page__body .rte th {
  text-align: left !important;
  font-family: var(--ag-font-body);
  font-weight: 600 !important;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase !important;
  color: var(--ag-brown-dark);
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(155, 155, 122, 0.3) !important;
}

.shopify-policy__body .rte td,
.ag-policy-page__body .rte td {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(155, 155, 122, 0.15) !important;
  vertical-align: top;
}

.shopify-policy__body .rte tr:last-child td,
.ag-policy-page__body .rte tr:last-child td {
  border-bottom: none !important;
}

.shopify-policy__body .rte code,
.ag-policy-page__body .rte code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 0.85em;
  background: rgba(155, 155, 122, 0.12);
  color: var(--ag-brown-dark);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(155, 155, 122, 0.18);
}

/* === Bloc "Autres documents" === */
.ag-policy-page__other {
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: clamp(30px, 4vw, 50px);
  border-top: 1px solid rgba(155, 155, 122, 0.25);
  text-align: center;
}

.ag-policy-page__other-label {
  font-family: var(--ag-font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ag-olive-dark);
  margin: 0 0 18px;
}

.ag-policy-page__other ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-family: var(--ag-font-body);
  font-size: 0.9rem;
}

.ag-policy-page__other a {
  color: var(--ag-brown);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 2px;
}

.ag-policy-page__other a:hover {
  color: var(--ag-terracotta);
  border-color: var(--ag-terracotta);
}

/* === Page custom /pages/cookies — même rendu que policies === */
.template-page-cookies main .shopify-section,
.template-page-cookies main .page,
.template-page-cookies main article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 40px);
}
