:root {
  --green-dark: #2f5d50;
  --green-soft: #e6f1ed;
  --rose: #c94a6a;
  --text-dark: #222;
  --text-light: #666;
  --border-soft: #e2e2e2;
  --background: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: poppins, sans-serif;
  color: var(--text-dark);
  background-color: var(--background);
  line-height: 1.6;
}

header,
section,
footer {
  padding: 2.5rem 1.25rem;
}

section {
  max-width: 1100px;
  margin: auto;
}

.desc-hero {
  font-size: 16px;
  color: #222;
}

section {
  max-width: 1100px;
  margin: auto;
}

h1,
h2,
h3 {
  line-height: 1.2em;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.5rem;
  color: #030709;
}

h2 {
  font-size: 1.6rem;
  color: #222;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

em {
  color: var(--text-light);
  font-style: normal;
}

.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  background-color: #030709;
  color: #ffffff;
  font-size: 0.7rem;
  letter-spacing: 0.8px;
  padding: 0.6rem 1rem;
}

.top-bar span {
  opacity: 0.85;
}

.head-sd-s {
  background-color: #f6faf8;
  text-align: center;
  border-radius: 18px;
  padding: 3rem 2rem;
}

/* Titre */
.head-sd-s h2 {
  max-width: 720px;
  margin: 0 auto 1.8rem;
}

/* Paragraphes */
.head-sd-s p {
  max-width: 680px;
  margin: 0 auto 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Question client mise en avant */
.head-sd-s p:first-of-type {
  font-size: 1.05rem;
}

/* Citation */
.head-sd-s em {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

.top-bar-text {
  text-align: center;
  color: #ffffff;
  font-size: 10px;
}

.intro-section {
  background-color: #d40b0b;
  text-align: center;
  border-radius: 18px;
  padding: 3rem 2rem;
  margin-top: 2rem;
}

.intro-section h2 {
  font-size: 1.6rem;
  color: #222;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.intro-question {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.intro-question em {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-light);
  font-style: normal;
}

.intro-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-dark);
}

header {
  text-align: center;
  background-color: #ffffff;
}

header p {
  max-width: 600px;
  margin: auto;
  font-size: 1.05rem;
  color: var(--text-light);
}

.desc-form {
  font-size: 14px;
  padding-bottom: 15px;
}

/* ==============================
   SECTION : CARTES PRODUITS
============================== */

/* Conteneur général de la section */
section {
  margin-top: 3rem;
}

/* Titre de section */
section > h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Chaque carte */
section > article {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-soft);

  /* Ombre douce = effet premium */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

  /* Animation légère */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Effet hover (desktop) */
section > article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ==============================
   IMAGE (placeholder)
============================== */

section > article > div {
  background-color: #f4f7f6;
  border-radius: 10px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==============================
   TITRES & PRIX
============================== */

section > article h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--green-dark);
}

/* Sous-titre / promesse */
section > article p strong {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #000;
}

/* Texte descriptif */
section > article p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ==============================
   TAGLINES
============================== */

section > article ul {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

section > article li {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  position: relative;
}

/* Petit accent visuel (point vert) */
section > article li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-dark);
}

/* ==============================
   RESPONSIVE DESKTOP
============================== */

@media (min-width: 768px) {
  /* Grille UNIQUEMENT pour la section des cartes */
  section:not(.intro-section):not(.order-section):not(.hero) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  section:not(.intro-section):not(.order-section):not(.hero) > h2 {
    grid-column: 1 / -1;
  }

  section:not(.intro-section):not(.order-section):not(.hero) > article {
    margin-bottom: 0;
  }
}

/* Le titre prend toute la largeur */
section > h2 {
  grid-column: 1 / -1;
}

section > article {
  margin-bottom: 0;
}

/* ==============================
   SECTION FORMULAIRE
============================== */

.order-section {
  margin-top: 4rem;
}

.brand-name {
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* ==============================
   FIELDSETS GÉNÉRAUX
============================== */

fieldset {
  border: none;
  padding: 0;
  margin-bottom: 3rem;
}

legend {
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--green-dark);
}

/* ==============================
   CHOIX DES BOUQUETS
============================== */

.bouquet-option {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.4rem 1.25rem;
  margin-bottom: 1.4rem;
  background-color: #ffffff;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.bouquet-option:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

/* Ligne principale */
.bouquet-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

/* Checkbox */
.bouquet-main input[type="checkbox"] {
  transform: scale(1.15);
}

/* Titre bouquet */
.bouquet-title {
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.2px;
}

/* Prix */
.bouquet-price {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-dark);
}

/* Description */
.bouquet-desc {
  margin: 0.5rem 0 0.9rem 1.7rem;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Quantité */
.bouquet-qty {
  display: none;
  margin-left: 1.7rem;
  max-width: 130px;
}

.bouquet-qty label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
}

.bouquet-qty input[type="number"] {
  width: 100%;
  margin-top: 0.3rem;
}

/* État sélectionné */
.bouquet-option:has(input[type="checkbox"]:checked) {
  border-color: var(--green-dark);
  background-color: #f6faf8;
}

/* ==============================
   MESSAGE / DEMANDE SPÉCIALE
============================== */

.form-block {
  margin-top: 2rem;
}

.form-block label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-block textarea {
  width: 100%;
}

/* ==============================
   COMPOSITION PERSONNALISÉE
============================== */

.custom-fieldset textarea {
  width: 100%;
  margin-top: 0.6rem;
}

.fieldset-info {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  max-width: 720px;
}

/* ==============================
   RETRAIT & PAIEMENT
============================== */

.details-grid {
  display: grid;
  gap: 1.5rem;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
}

.form-group input[type="date"] {
  width: 100%;
  margin-top: 0.4rem;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.payment-options label {
  font-size: 0.9rem;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==============================
   CTA
============================== */

.form-cta {
  margin-top: 2.5rem;
}

.form-cta button {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background-color: var(--green-dark);
  color: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.form-cta button:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 93, 80, 0.25);
}

/* ==============================
   CHAMPS FORMULAIRES – GLOBAL
   (limité au formulaire)
============================== */

/* ==============================
   CHAMPS SAISIE – CONFORT UTILISATEUR
============================== */

#order-form input[type="text"],
#order-form input[type="email"],
#order-form input[type="tel"],
#order-form input[type="number"],
#order-form input[type="date"],
#order-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.3;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Textarea plus généreux */
#order-form textarea {
  min-height: 110px;
  resize: vertical;
}

#order-form input:focus,
#order-form textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.14);
}

/* ==============================
   RADIO & CHECKBOX
============================== */

#order-form input[type="checkbox"],
#order-form input[type="radio"] {
  accent-color: var(--green-dark);
  cursor: pointer;
}

/* ==============================
   BLOCS FORM (cohérence visuelle)
============================== */

.form-block,
.form-group {
  margin-top: 1.8rem;
}

/* ==============================
   DATE DE RETRAIT (mise en valeur)
============================== */

.details-fieldset {
  background-color: #f7f9f8;
  padding: 1.6rem 1.4rem;
  border-radius: 16px;
}

/* ==============================
   PAYMENT OPTIONS – meilleure lisibilité
============================== */

.payment-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==============================
   CTA – espacement final
============================== */

.form-cta {
  margin-top: 3rem;
}

/* ==============================
   TEXTES SOUS FORMULAIRE
============================== */

.form-help,
.form-info {
  max-width: 720px;
  margin: 0.6rem auto;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

.form-help a {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ==============================
   FOOTER MINIMAL
============================== */

.mini-footer {
  padding: 2.2rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==============================
   CHAMPS CONTACT – INFOS CLIENT
============================== */

.contact-fields {
  margin-top: 2.4rem;
  padding: 1.6rem 1.4rem;
  background-color: #f7f9f8;
  border-radius: 16px;
}

/* Texte explicatif */
.contact-info {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.4rem;
  max-width: 620px;
  line-height: 1.4;
}

/* Grille */
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

/* Groupe champ */
.contact-group {
  display: flex;
  flex-direction: column;
}

/* Label – même style que le reste du formulaire */
.contact-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
}

/* Input – on s’appuie sur les styles globaux */
.contact-group input {
  width: 100%;
  margin-top: 0.4rem;
}

/* Desktop */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
