@import url("animations.css");
@import url("variables.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

/* =========================================================
   BASE GLOBALE
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: radial-gradient(circle at top,
      #fdf6ec 0%,
      #f4e3cf 45%,
      #f0e1d2 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Fond flou avec orbes café */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.45;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  animation: float 10s ease-in-out infinite;
}

/* Orbs = ambiance latte / café (neutre pour index + preview) */
.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #f9e0b0 0%, #f4b981 40%, #d97757 100%);
  top: 18%;
  left: 8%;
  animation-delay: 0s;
}

.orb-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #fef3c7 0%, #facc6b 35%, #c05621 100%);
  top: 60%;
  right: 12%;
  animation-delay: 2s;
}

.orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #fdf2f2 0%, #fecaca 40%, #b91c1c 100%);
  bottom: 10%;
  left: 55%;
  animation-delay: 4s;
}

/* Conteneur principal par défaut */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  flex: 1;
}

/* Footer commun */
.footer {
  margin: 0 auto;
  padding: 0.75rem 1rem 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8b5a3c;
  font-size: 0.9rem;
}

/* Social de base (utilisé par index & preview si besoin) */
.social-links {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffdf7;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  font-size: 1.4rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   SECTION 1 – INDEX.HTML (COMING SOON) – STYLE APPLE
   ========================================================= */

/* Top bar minimal façon Apple */

.top-bar-apple {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-logo-wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Bouton d'accès privé (remplace ancien bouton thème) */

.access-btn {
  border: none;
  cursor: pointer;
}

.access-btn-apple {
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.access-btn-apple:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

/* Layout global de la landing */

.landing-container {
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.apple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
}

/* Colonne gauche (texte) */

.apple-hero-left {
  text-align: left;
}

.apple-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.apple-hero-title {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.apple-hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

/* Pills sous le texte */

.apple-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.apple-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.9);
}

/* Newsletter – bloc Apple */

.apple-newsletter {
  margin-bottom: 1.7rem;
}

.newsletter-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.newsletter-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.newsletter-form {
  margin-bottom: 0.6rem;
}

.newsletter-input-wrapper {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.25rem 0.3rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.newsletter-input {
  border: none;
  outline: none;
  background: transparent;
  padding: 0.6rem 0.9rem;
  flex: 1;
  font-size: 0.9rem;
  color: black;
}

.newsletter-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.apple-newsletter-btn {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apple-newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.newsletter-small {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Message de newsletter (option) */

.newsletter-message {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.newsletter-message--success {
  color: #15803d;
}

.newsletter-message--error {
  color: #b91c1c;
}

/* Lien Instagram soft */


.apple-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.apple-social-link i {
  font-size: 1rem;
}

/* Colonne droite – “device card” avec countdown */

.apple-hero-right {
  display: flex;
  justify-content: center;
}

.apple-device-card {
  width: 100%;
  max-width: 360px;
  border-radius: 32px;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.96),
      rgba(245, 247, 250, 0.95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
}

.apple-device-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.apple-device-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5e7eb;
}

.apple-device-dot.dot-1 {
  background: #ff5f57;
}

.apple-device-dot.dot-2 {
  background: #febc2e;
}

.apple-device-dot.dot-3 {
  background: #28c840;
}

.apple-device-title {
  margin-left: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.apple-device-body {
  padding: 1.4rem 1.4rem 1.2rem;
}

.apple-device-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

/* Countdown dans la carte */

.apple-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.apple-countdown-item {
  text-align: center;
  padding: 0.7rem 0.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.apple-countdown-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.apple-countdown-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Footer text dans la carte */

.apple-device-foot {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 0.9rem;
  margin-top: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.apple-device-foot-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.foot-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Modal mot de passe (index) */

.password-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.password-modal.is-open {
  display: block;
}

.password-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 7, 0.65);
  backdrop-filter: blur(4px);
}

.password-modal-dialog {
  position: relative;
  max-width: 420px;
  margin: 10vh auto 0;
  background: #fffdf8;
  border-radius: 24px;
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(214, 162, 118, 0.8);
}

.password-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b4b3a;
}

.password-modal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #3f2a20;
  margin-bottom: 0.5rem;
}

.password-modal-text {
  font-size: 0.95rem;
  color: #6b4b3a;
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.password-input {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 175, 139, 0.9);
  background: rgba(255, 253, 248, 0.96);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.password-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.password-btn {
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff7ec;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.password-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.password-message {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #b91c1c;
}

/* Responsive index (Apple) */

@media (max-width: 900px) {
  .apple-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .apple-hero-left {
    text-align: center;
  }

  .apple-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .apple-pill-row {
    justify-content: center;
  }

  .newsletter-input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .apple-social-link {
    justify-content: center;
  }
}

@media (max-width: 690px) {
  .container {
    padding: 1.8rem 1.25rem 1.4rem;
  }

  .password-modal-dialog {
    margin-inline: 1.2rem;
  }
}

/* ========= HERO BAGEL ANIMÉ – PREVIEW.HTML ========= */

.preview-hero-media-bagel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Conteneur des couches de bagel (comme les layers du burger) */
.bagel-layers {
  position: relative;
  width: 260px;
  height: 260px;
}

/* Chaque layer = positionné absolument, centré */
.bagel-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bagel-layer img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Tu peux ajuster finement les offsets pour chaque PNG */
.bagel-layer-plate {
  transform: translateY(40px);
  z-index: 1;
}

.bagel-layer-bottom {
  transform: translateY(10px);
  z-index: 2;
}

.bagel-layer-filling {
  transform: translateY(-10px);
  z-index: 3;
}

.bagel-layer-top {
  transform: translateY(-30px);
  z-index: 4;
}

/* Petites cartes comme les calories à droite dans l'exemple */
.bagel-nutrition {
  position: absolute;
  right: -110px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bagel-nutrition-card {
  width: 110px;
  padding: 0.7rem 0.6rem;
  border-radius: 18px;
  background: #fffdf8;
  border: 1px solid rgba(214, 162, 118, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  text-align: center;
  color: #6b4b3a;
}

.bagel-nutrition-card .label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.7rem;
  color: #b45309;
}

.bagel-nutrition-card small {
  display: block;
  opacity: 0.7;
  margin-top: 2px;
  margin-bottom: 4px;
}

.bagel-nutrition-card strong {
  display: block;
  font-size: 1.1rem;
  color: #9a3412;
}

/* Badge au-dessus du titre, pour la timeline texte */
.preview-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #fef7e2;
  border: 1px solid rgba(214, 162, 118, 0.8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #92400e;
}

/* On veut pouvoir animer chaque span du titre */
.preview-hero-title span {
  display: inline-block;
}

/* Responsive : on rapproche les cartes si écran plus petit */
@media (max-width: 1024px) {
  .bagel-nutrition {
    position: static;
    margin-top: 1.2rem;
    flex-direction: row;
    justify-content: center;
  }

  .bagel-nutrition-card {
    width: auto;
    min-width: 95px;
  }

  .preview-hero-media-bagel {
    margin-top: 1.2rem;
  }
}

@media (max-width: 768px) {
  .bagel-layers {
    width: 220px;
    height: 220px;
  }
}

/* =========================================================
   PAGE COMING SOON (index.html) – FOOD FOCUSED HERO
   ========================================================= */

/* Layout global de la landing */
.landing-container {
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Top bar minimal mais marqué */
.top-bar-apple {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
}

.apple-logo-wordmark {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3f2a20;
}

/* Bouton cadenas = petit, premium, gourmand */
.access-btn {
  border: none;
  cursor: pointer;
}

.access-btn-apple {
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.95rem;
  border: 1px solid rgba(127, 29, 9, 0.5);
  background: radial-gradient(circle at top, #fff7ec 0%, #fee2c5 60%, #f5c08d 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(120, 72, 42, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7c2d12;
  transition: all 0.2s ease;
}

.access-btn-apple:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(120, 72, 42, 0.55);
}

/* Hero 2 colonnes : texte + visuel food */
.apple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
  width: 100%;
}

/* Colonne gauche : storytelling */
.apple-hero-left {
  text-align: left;
}

.apple-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 0.6rem;
}

.apple-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  color: #3f2a20;
}

.apple-hero-title br {
  display: block;
}

.apple-hero-subtitle {
  font-size: 1.02rem;
  color: #6b4b3a;
  line-height: 1.8;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

/* Pills = mettre en avant ce que vous vendez */
.apple-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.1rem;
}

.apple-pill {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 162, 118, 0.95);
  background: rgba(255, 253, 248, 0.98);
  color: #92400e;
}

/* Newsletter = VRAI CTA principal */
.apple-newsletter .newsletter-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #9a3412;
  margin-bottom: 0.4rem;
}

.apple-newsletter .newsletter-text {
  font-size: 0.9rem;
  color: #6b4b3a;
  margin-bottom: 1rem;
}

.apple-newsletter .newsletter-input-wrapper {
  background: radial-gradient(circle at top, #fff7ec 0%, #ffe1c4 55%, #fad1a3 100%);
  border-radius: 999px;
  padding: 0.25rem 0.3rem;
  border: 1px solid rgba(214, 162, 118, 0.9);
  box-shadow: 0 14px 34px rgba(120, 72, 42, 0.35);
}

.apple-newsletter .newsletter-input {
  color: #3f2a20;
}

.apple-newsletter .newsletter-input::placeholder {
  color: #b08462;
}

.apple-newsletter .apple-newsletter-btn {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff7ec;
  box-shadow: 0 18px 40px rgba(194, 65, 12, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.apple-newsletter .apple-newsletter-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.apple-newsletter .newsletter-small {
  color: #8b5a3c;
  font-size: 0.8rem;
}

/* Instagram – bouton “chip” gourmand */
.apple-social .apple-social-link {
  width: auto;
  height: auto;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(214, 162, 118, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #7c2d12;
  font-size: 0.82rem;
  box-shadow: 0 10px 26px rgba(120, 72, 42, 0.28);
}

.apple-social .apple-social-link i {
  font-size: 1.15rem;
}

/* Colonne droite : visuel produit + countdown */
.apple-hero-right {
  display: flex;
  justify-content: center;
}

/* Carte = maxi focus visuel food + compte à rebours */
.apple-device-card {
  width: 100%;
  max-width: 380px;
  border-radius: 32px;
  background: radial-gradient(circle at top,
      #fff7ec 0%,
      #fbe0c2 42%,
      #f3c49c 100%);
  box-shadow: 0 30px 80px rgba(120, 72, 42, 0.45);
  overflow: hidden;
  border: 1px solid rgba(214, 162, 118, 0.95);
  backdrop-filter: blur(22px);
  position: relative;
}

/* Badge “food” en haut à droite de la carte */
.apple-device-card::after {
  content: "🥯 + ☕";
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  font-size: 1.1rem;
}

/* Header façon fenêtre macOS, version café */
.apple-device-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(214, 162, 118, 0.7);
  background: radial-gradient(circle at top, #fff7ec 0%, #fbd4a5 80%);
}

.apple-device-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.apple-device-dot.dot-1 {
  background: #f97316;
}

.apple-device-dot.dot-2 {
  background: #facc6b;
}

.apple-device-dot.dot-3 {
  background: #22c55e;
}

.apple-device-title {
  margin-left: 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8b5a3c;
}

/* Corps de la carte avec visuel rond de bagel en fond */
.apple-device-body {
  padding: 1.45rem 1.4rem 1.3rem;
  position: relative;
}

/* Grand cercle food derrière le countdown */
.apple-device-body::before {
  content: "🥯";
  position: absolute;
  inset: 0;
  margin: auto;
  top: 0.1rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff7ec 0%, #fbbf77 45%, #c05621 100%);
  box-shadow: 0 22px 50px rgba(127, 29, 9, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  opacity: 0.18;
  pointer-events: none;
}

/* Texte au-dessus du visuel */
.apple-device-caption {
  font-size: 0.9rem;
  color: #6b4b3a;
  margin-bottom: 1.1rem;
}

/* Countdown (par dessus le visuel) */
.apple-countdown-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  z-index: 1;
}

.apple-countdown-item {
  text-align: center;
  padding: 0.7rem 0.4rem;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(214, 162, 118, 0.8);
  box-shadow: 0 10px 26px rgba(120, 72, 42, 0.25);
}

.apple-countdown-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #9a3412;
}

.apple-countdown-label {
  font-size: 0.75rem;
  color: #8b5a3c;
}

/* Ligne du bas dans la carte */
.apple-device-foot {
  border-top: 1px solid rgba(214, 162, 118, 0.8);
  padding-top: 0.9rem;
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.apple-device-foot-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #6b4b3a;
}

.foot-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c05621;
}

/* Modal mot de passe : léger retouch pour matcher le style food */
.password-modal-dialog {
  background: #fff7ec;
  border-radius: 22px;
  border: 1px solid rgba(214, 162, 118, 0.9);
  box-shadow: 0 30px 80px rgba(120, 72, 42, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .apple-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .apple-hero-left {
    text-align: center;
  }

  .apple-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .apple-pill-row {
    justify-content: center;
  }

  .apple-newsletter .newsletter-input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .apple-social .apple-social-link {
    justify-content: center;
  }

  .apple-hero-right {
    order: -1;
  }

  .apple-device-card {
    max-width: 320px;
  }
}

@media (max-width: 690px) {
  .landing-container {
    padding: 1.8rem 1.25rem 1.4rem;
  }

  .apple-hero-title {
    font-size: 2.2rem;
  }
}

/* --- Newsletter 2-step Apple Smooth --- */
#step2 {
  opacity: 0;
  transform: translateY(10px);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

#step2.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Champ + boutons espacés proprement */
.newsletter-input {
  width: 100%;
  margin-bottom: 10px;
}

#emailNextBtn,
#finalSubmitBtn {
  width: 100%;
  margin-top: 8px;
}

/* Messages de feedback */
.newsletter-message {
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: left;
}

.newsletter-message--success {
  color: #22c55e;
  /* succès vert premium */
}

.newsletter-message--error {
  color: #ef4444;
  /* rouge clean Apple */
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0);
  }
}

.input-error {
  animation: shake 0.3s ease;
  border-color: #ef4444 !important;
}

/* Loader (3 petits points) */
.btn-loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Success button */
.btn-success {
  background: #22c55e !important;
  border-color: #16a34a !important;
  color: white !important;
}

.btn-success::after {
  content: "✓";
  font-weight: 700;
  font-size: 20px;
  color: white;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-message--success {
  background: #ecfdf5;
  color: #15803d;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}

.newsletter-message--error {
  color: #dc2626;
  font-weight: 600;
}

.placeholder-fade {
  transition: opacity .3s ease;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.newsletter-modal.is-open {
  display: block;
}

.newsletter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 7, 0.55);
  backdrop-filter: blur(4px);
}

.newsletter-modal-dialog {
  position: relative;
  width: 92%;
  max-width: 420px;
  margin: 10vh auto 0;
  background: #fffdf8;
  border-radius: 24px;
  padding: 2rem 1.7rem 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(214, 162, 118, 0.8);
  animation: fadeInUp 0.35s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsletter-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #6b4b3a;
  transition: 0.2s ease;
}

.newsletter-modal-close:hover {
  transform: scale(1.18);
}

.newsletter-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3f2a20;
  margin-bottom: 0.5rem;
  text-align: center;
}

.newsletter-modal-text {
  text-align: center;
  font-size: 1rem;
  color: #6b4b3a;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.newsletter-modal-form .newsletter-input {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
}

.newsletter-open-btn {
  background: linear-gradient(135deg, #d97757, #b45309);
  color: #fff7ec;
  border: none;
  padding: 1rem 1.7rem;
  border-radius: 18px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(127, 29, 9, 0.45);
  transition: .25s ease;
}

.newsletter-open-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 45px rgba(127, 29, 9, 0.6);
}

.newsletter-open-btn:active {
  transform: scale(.97);
}



/* Centrer le bouton Instagram sous le CTA newsletter */
.apple-social {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem !important;
}

.apple-social-link {
  margin: 0 auto;
}