@charset "UTF-8";

/* ============ Art Therapy – Girly Theme (full replace) ============ */
:root{
  --pink-50:#fff2f8;
  --pink-100:#ffe0ee;
  --pink-300:#ff9fcb;
  --pink-500:#e85b9a;

  --green-50:#f0fbf5;
  --green-200:#cfead6;
  --green-500:#2f8f4e;

  --ink:#1f2937;
  --muted:#6b7280;

  --card: rgba(255,255,255,.82);
  --stroke: rgba(31,41,55,.10);

  --shadow: 0 18px 55px rgba(31,41,55,.10);
  --shadow-soft: 0 12px 35px rgba(31,41,55,.08);

  --r-xl: 28px;
  --r-lg: 22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(900px 450px at 12% 8%, rgba(232,91,154,.24), transparent 60%),
    radial-gradient(900px 450px at 92% 10%, rgba(47,143,78,.18), transparent 60%),
    linear-gradient(135deg, var(--pink-50), var(--green-50));
}

a{ color:inherit; text-decoration:none; }

/* Layout width + side padding (fix “too glued to edges”) */
body > main{
  width: min(1100px, 100%);
  margin-inline:auto;
  padding-inline: clamp(18px, 4vw, 64px);
  padding-bottom: 40px;
}

/* Header full width */
body > header{
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, rgba(255,224,238,.84), rgba(207,234,214,.76));
  border-bottom: 1px solid rgba(255,255,255,.75);
}

header{
  padding: 18px 0;
}

header .logo{
  width: min(1100px, 100%);
  margin-inline:auto;
  padding-inline: clamp(18px, 4vw, 64px);
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Bigger logo + name (x2) */
.logo-badge{
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.logo-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transform: scale(1.08); /* keeps the logo nicely inside the circle */
}

.logo-text strong{
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 600;
  letter-spacing: .2px;
  text-transform:none;
}

/* HERO */
#hero{
  margin-top: 26px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.5vw, 28px);
  position: relative;
  overflow:hidden;
}
#hero::after{
  content:"";
  position:absolute;
  right:-140px;
  top:-140px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(47,143,78,.18), rgba(232,91,154,.22), transparent 65%);
}
#hero p:first-of-type{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(232,91,154,.22);
  box-shadow: 0 10px 25px rgba(232,91,154,.10);
  color: rgba(31,41,55,.80);
  width: fit-content;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}


#hero h1{
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  margin: 8px 0 14px;
  position: relative;
  z-index: 1;
}

/* Replace “weird highlight” with simple accent color */
.highlight{
  color: var(--pink-500);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232,91,154,.35);
  text-underline-offset: 8px;
  text-decoration-thickness: 6px;
}

#hero p{
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(31,41,55,.78);
  max-width: 70ch;
  position: relative;
  z-index: 1;
}

/* Cards grid (2 per row) */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
  margin-top: 22px;
}

.gift-card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  position: relative;
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gift-card::after{
  content:"";
  position:absolute;
  right:-110px;
  top:-110px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(47,143,78,.20), rgba(232,91,154,.20), transparent 65%);
}
.gift-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.gift-card h3{
  font-size: 30px;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.gift-card p{
  font-family:"Nunito", sans-serif;
  color: rgba(31,41,55,.72);
  position: relative;
  z-index: 1;
}


/* Custom amount row */
.custom-amount{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 18px;                 /* a bit more air */
  align-items:end;
}
.custom-amount label{
  display:block;
  font-family:"Nunito", sans-serif;
  color: rgba(31,41,55,.72);
  margin-bottom: 10px;
}
.custom-amount .input-wrap{
  position: relative;
}
.custom-amount input{
  width:100%;
  padding: 16px 52px 16px 16px; /* room for € */
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.9);
  font-family:"Nunito", sans-serif;
  font-size: 16px;
  outline:none;
}
.custom-amount .suffix{
  position:absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--green-500);
  pointer-events:none;
}
.custom-amount .btn-primary{
  margin-top: 12px;          /* space between input and button on wrap */
}


/* Buttons *//* Buttons */
.btn-primary{
  border: none;
  cursor:pointer;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--pink-500), #ff79b7);
  box-shadow: 0 14px 30px rgba(232,91,154,.22);
  transition: transform .2s ease, filter .2s ease;
  white-space: nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.btn-primary:hover{ transform: translateY(-2px); filter: brightness(1.02); }
.btn-primary:active{ transform: translateY(0px); }

.btn-primary--outline{
  background: rgba(255,255,255,.78);
  color: var(--ink);
  border: 1px solid rgba(232,91,154,.22);
  box-shadow: var(--shadow-soft);
}

/* Contact stacked */
.contact-grid{
  display:grid;
  gap: 18px;
  margin-top: 28px;
}
.contact-social, .contact-form{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}
.contact-social-title{
  font-size: 22px;
  margin-bottom: 10px;
}
.socials{
  list-style:none;
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.social-link{
  width: fit-content;
  max-width: 100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,224,238,.55);
  border: 1px solid rgba(232,91,154,.18);

  width: fit-content;
  max-width: 100%;
}

.contact-form input, .contact-form select, .contact-form textarea{
  width:100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  font-family:"Nunito", sans-serif;
  font-size: 15px;
  outline:none;
}
.contact-form textarea{ min-height: 120px; resize: vertical; }

.contact-privacy-note{
  font-family:"Nunito", sans-serif;
  color: rgba(31,41,55,.64);
  margin-top: 10px;
  font-size: 13px;
}

/* Footer centered */
.site-footer{
  width: min(1100px, 100%);
  margin-inline:auto;
  padding-inline: clamp(18px, 4vw, 64px);
  padding: 34px 0 44px;
  text-align:center;
  font-family:"Nunito", sans-serif;
  color: rgba(31,41,55,.62);
}
.footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  justify-content:center;
  margin-top: 10px;
}
.footer-separator{ opacity:.4; }

/* Popup */
.popup-success .popup-content{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 900px){
  .cards-grid{ grid-template-columns: 1fr; }
  .custom-amount{ grid-template-columns: 1fr; }
  .btn-primary{ width: 100%; }
  .logo-badge{ width: 72px; height: 72px; }
}


.contact-form .form-group{ margin-bottom: 16px; }

.contact-form label{ display:block; font-family:"Nunito", sans-serif; margin-bottom: 8px; color: rgba(31,41,55,.78); }
.contact-form input, .contact-form select, .contact-form textarea{ margin-top: 0; }
.contact-form{ display:block; }

/* === V3 Overrides === */
.contact-form form{
  display: grid;
  gap: 18px;
}
.contact-form label{
  display:block;
  font-family:"Nunito", sans-serif;
  margin-bottom: 6px;
  color: rgba(31,41,55,.78);
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  padding: 16px 18px;
}
.contact-form textarea{ min-height: 170px; }
.contact-privacy-note{
  margin-top: 12px;
  line-height: 1.5;
}
/* More space between custom amount and button */
.custom-amount{ margin-top: 22px; }
.custom-amount .btn-primary{ margin-top: 18px; }

/* Smaller cards on mobile */
@media (max-width: 900px){
  .gift-card{
    padding: 16px;
    border-radius: 22px;
  }
  .gift-card h3{
    font-size: 24px;
  }
  .gift-card p{
    font-size: 14px;
  }
}

.gift-card.is-selected{ outline: 3px solid rgba(232,91,154,.35); box-shadow: var(--shadow); }


/* === V4 Fixes: custom amount alignment === */
.custom-amount{
  grid-template-columns: 1fr auto;
  align-items: end;
}
.custom-amount .input-wrap{
  width: min(420px, 100%);
}
@media (max-width: 900px){
  .custom-amount .input-wrap{ width: 100%; }
}
/* more space between custom amount and payment button */
.custom-amount + .btn-primary,
#goToPayment{
  margin-top: 22px;
}

/* --- Fix affichage Montant libre + bouton --- */
.custom-amount{
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
}

.field-inline{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap; /* sur petit écran ça passe en dessous */
}

.field-inline label{
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: rgba(31,41,55,.72);
  white-space: nowrap;
}

.custom-amount .input-wrap{
  width: min(420px, 100%);
}

#goToPayment{
  font-size: 18px;     /* texte plus gros */
  padding: 18px 26px;  /* bouton plus confortable */
}

/* Mobile : tout en colonne */
@media (max-width: 900px){
  .custom-amount{
    grid-template-columns: 1fr;
  }
  #goToPayment{
    width: 100%;
  }
}

/* ===== Paiement page (page-paiement) ===== */
.page-paiement header{
  background: transparent;
  padding: 40px 0 10px;
}

.page-paiement header h1{
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 64px);
  font-size: clamp(34px, 4vw, 46px);
}

.page-paiement main{
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 64px) 70px;
}

/* Sections plus “card” et respirantes */
.page-paiement main > section{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(31,41,55,.10);
  padding: 26px;
  margin: 18px 0;
}

.page-paiement h2{
  margin-bottom: 14px;
}

.page-paiement .payment-legal-note{
  margin: 18px 0 10px;
  padding: 0 6px;
  font-family: "Nunito", sans-serif;
  line-height: 1.5;
  color: rgba(31,41,55,.70);
}

/* Form plus clean */
.page-paiement .form-group{
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.page-paiement .form-group input{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(31,41,55,.10);
  background: rgba(255,255,255,.92);
  font-family: "Nunito", sans-serif;
}

/* --- Montant libre : bouton en dessous --- */
.custom-amount{
  grid-template-columns: 1fr;   /* une seule colonne */
  gap: 18px;
  align-items: start;
}

.custom-amount .field-inline{
  flex-direction: column;       /* label au-dessus du champ */
  align-items: flex-start;
  gap: 10px;
}

.custom-amount .input-wrap{
  width: min(420px, 100%);
}

#goToPayment{
  width: fit-content;
  font-size: 18px;
  padding: 18px 26px;
}

@media (max-width: 900px){
  #goToPayment{ width: 100%; }
  .custom-amount .input-wrap{ width: 100%; }
}

/* --- Bouton retour paiement --- */
.page-paiement .payment-header{
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 40px clamp(18px, 4vw, 64px) 10px;
}

.page-paiement .btn-back{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(31,41,55,.10);
  box-shadow: 0 12px 35px rgba(31,41,55,.08);
  font-family: "Nunito", sans-serif;
  margin-bottom: 14px;
}

.page-paiement .btn-back:hover{
  transform: translateY(-1px);
}

body{
  min-height: 100vh;
  margin: 0;

  background: linear-gradient(
    135deg,
    #f7c8d6 0%,
    #f1e3ea 40%,
    #e4f1ea 70%,
    #cde6db 100%
  );

  background-attachment: fixed; /* important */
  background-repeat: no-repeat;
  background-size: cover;
}
