/* =====================================================================
   PRESTATIONS.CSS : styles des pages de prestations artistiques refaites
   (tatouageTemporaire.html, maquillages.html, et les suivantes).
   Couleurs de la partie artistique : violet #810ece → bleu #35b8f5 (comme les boutons "Voir la galerie")
   Toutes les classes commencent par "ta-" pour ne pas se mélanger au reste du site.
   (les styles communs à tout le site sont dans style.css)
   ===================================================================== */

.ta-page {
  font-family: "Roboto", sans-serif;
  color: #222;

  /* ★ EFFET "VERRE DÉPOLI" DES BLOCS (cadres, cartes, chiffres) ★
     --ta-verre : le blanc des blocs. Le dernier nombre = opacité (1 = blanc plein, 0 = invisible).
                  0.45 laisse bien voir l'aquarelle ; monte vers 0.6 ou 0.8 si un texte devient difficile à lire.
     --ta-flou  : le flou de ce qu'on voit à travers (plus le nombre est grand, plus c'est flou). */
  --ta-verre: rgba(255, 255, 255, 0.15);
  --ta-flou: blur(4px);
}

/* Les blocs en verre dépoli (utilise les deux réglages ci-dessus) */
.ta-cadre,
.ta-carte,
.ta-chiffre {
  background: var(--ta-verre);
  -webkit-backdrop-filter: var(--ta-flou);   /* pour Safari (iPhone, Mac) */
  backdrop-filter: var(--ta-flou);
}

/* ----- Haut de page : titre + photo ronde ----- */
.ta-hero {
  text-align: center;
}

.ta-hero h1 {
  font-size: clamp(3rem, 7vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.ta-accroche {
  font-family: "Dancing Script", cursive;
  font-size: 1.9rem;
  font-weight: 700;
  color: #3b3450;
  margin-bottom: 1rem;
}

.ta-intro {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 500;
  color: #2b2638;
}

/* Photo ronde avec bordure dégradée violet → bleu → vert */
.ta-photo-ronde {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, #810ece, #35b8f5, #09ca43);
}

/* ----- Boutons ----- */
/* Bouton principal violet → bleu (même look que "Voir la galerie") */
.ta-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 28px;
  border: 2px solid #000;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(90deg, #810ece, #35b8f5);
  box-shadow: 6px 5px 1px 0 rgba(83, 10, 96, 0.75);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ta-bouton:hover,
.ta-bouton:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px #ff32d6;
}

/* Petit bouton (liens vers la galerie dans les sections) */
.ta-bouton-petit {
  min-height: 46px;
  padding: 0 22px;
  font-size: 1.05rem;
  box-shadow: none;
}

/* Bouton secondaire : blanc bordé */
.ta-bouton-clair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 28px;
  border: 2px solid #1e1b2e;
  color: #1e1b2e;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-decoration: none;
}

.ta-bouton-clair:hover {
  color: #5a0a96;
  border-color: #5a0a96;
}

/* ----- Titres de section (manuscrits) ----- */
.ta-titre {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  color: #1e1b2e;
}

/* ----- Les 3 cartes "3 techniques, 3 envies" ----- */
.ta-carte {
  height: 100%;
  border: 1px solid #000;
  border-radius: 16px;
  box-shadow: 6px 5px 1px 0 rgba(83, 10, 96, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ta-carte > img,
.ta-carte .ta-photo-vide {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ta-carte-corps {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ta-carte h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e1b2e;
  margin: 0;
}

.ta-carte p {
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.ta-lien {
  align-self: flex-start;
  font-weight: 700;
  color: #5a0a96;
}

.ta-lien:hover {
  color: #064169;
}

/* Étiquette bleu foncé ("Effet vrai tatouage · 1 à 2 semaines") */
.ta-etiquette {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: #064169;
  border-radius: 999px;
  padding: 4px 12px;
}

/* Emplacement sans photo (aérographe, en attendant une vraie photo) */
.ta-photo-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2b2638, #4b2a75);
  color: #fff;
  text-align: center;
}

.ta-photo-vide i {
  font-size: 3rem;
}

/* ----- Cadre blanc des grandes sections ----- */
.ta-cadre {
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 32px 36px;
}

@media (max-width: 576px) {
  .ta-cadre {
    padding: 22px 18px;
  }
}

.ta-cadre p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.ta-cadre h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #1e1b2e;
}

/* Petite photo carrée bordée de noir */
.ta-photo-carree {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #000;
  box-shadow: 6px 5px 1px 0 rgba(83, 10, 96, 0.45);
}

/* Photo large dans les sections (paillettes, bijou de peau) */
.ta-photo-large {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #000;
}

/* ----- Tableau "Lequel choisir ?" ----- */
.ta-tableau-cadre {
  overflow-x: auto; /* sur téléphone, le tableau défile de côté au lieu de déborder */
}

.ta-tableau {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  line-height: 1.45;
}

.ta-tableau thead th {
  background: #064169;
  color: #fff;
  padding: 12px 14px;
  text-align: left;
}

.ta-tableau thead th:first-child {
  border-radius: 10px 0 0 0;
}

.ta-tableau thead th:last-child {
  border-radius: 0 10px 0 0;
}

.ta-tableau tbody th,
.ta-tableau td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3e0ea;
  text-align: left;
  vertical-align: top;
}

.ta-tableau tbody tr:nth-child(even) {
  background: #faf8fd;
}

/* ----- Les 3 étapes du jagua (photo + légendes) ----- */
.ta-legendes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  color: #1e1b2e;
}

/* Encadrés mauves (conseils) */
.ta-conseil {
  height: 100%;
  background: #f5f0fb;
  border-radius: 12px;
  padding: 18px;
}

.ta-conseil h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.ta-conseil ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.55;
}

.ta-conseil li + li {
  margin-top: 4px;
}

.ta-conseil p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

/* ----- Encadré jaune "Des produits choisis avec soin" ----- */
.ta-produits {
  background: #fff8e6;
  border: 2px solid #e0a100;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #4a3500;
}

.ta-produits i {
  font-size: 1.7rem;
  color: #9a6b00;
  line-height: 1;
}

.ta-produits h2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 8px;
}

.ta-produits p {
  margin: 0;
  line-height: 1.6;
}

/* ----- Les 4 chiffres "En bref" (maquillages) ----- */
.ta-chiffre {
  height: 100%;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

.ta-chiffre {
  container-type: inline-size;   /* permet d'adapter la taille du chiffre à la largeur de la case */
}

/* Le grand chiffre reste sur UNE ligne ("Petits et grands") : sa taille diminue si la case est étroite,
   sans jamais dépasser 2.2rem. 13cqi = 13 % de la largeur de la case (assez pour "6ᵉ – 9ᵉ mois").
   Pour une rangée aux textes plus longs, mettre sur la section : style="--ta-chiffre-cqi: 10cqi;" */
.ta-chiffre strong {
  font-size: min(2.2rem, var(--ta-chiffre-cqi, 13cqi));
  white-space: nowrap;
  font-weight: 900;
  color: #5a0a96;
  line-height: 1;
}

/* Version sombre (case "UV") */
.ta-chiffre-uv {
  background: #1b0f33;
  color: #fff;
}

.ta-chiffre-uv strong {
  color: #7dffb0;
}

/* ----- Pastilles (modèles de maquillage, événements) ----- */
.ta-pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ta-pastilles li {
  padding: 8px 16px;
  border-radius: 999px;
  background: #f5f0fb;
  border: 1px solid #d9c8ef;
  font-weight: 700;
  color: #3b1f63;
}

.ta-pastilles .ta-pastille-plus {
  background: #fff;
  border-style: dashed;
  color: #5a5468;
}

/* Pastilles des événements : bordure noire, centrées */
.ta-pastilles-evenements {
  justify-content: center;
  max-width: 900px;
}

.ta-pastilles-evenements li {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #1e1b2e;
  color: #1e1b2e;
  padding: 10px 18px;
}

.ta-pastilles-evenements .ta-pastille-uv {
  background: #140a26;
  border-color: #140a26;
  color: #7dffb0;
}

/* Cadre blanc avec une grande photo en bandeau en haut (sans marge intérieure) */
.ta-cadre-bandeau {
  padding: 0;
  overflow: hidden;
}

.ta-cadre-bandeau > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.ta-cadre-bandeau .ta-cadre-interieur {
  padding: 32px 36px;
}

@media (max-width: 576px) {
  .ta-cadre-bandeau > img {
    height: 180px;
  }

  .ta-cadre-bandeau .ta-cadre-interieur {
    padding: 22px 18px;
  }
}

/* ----- Section sombre "Maquillage UV" ----- */
.ta-uv {
  background: #140a26;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  padding: 32px 36px;
}

@media (max-width: 576px) {
  .ta-uv {
    padding: 22px 18px;
  }
}

.ta-uv .ta-titre {
  color: #fff;
}

.ta-uv p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #ece6f7;
}

.ta-uv .ta-etiquette {
  background: #7dffb0;
  color: #140a26;
  letter-spacing: 0.06em;
}

.ta-uv .ta-photo-carree {
  border-color: #7dffb0;
  box-shadow: none;
}

.ta-uv-large {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Bouton vert fluo de la section UV */
.ta-bouton-uv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 28px;
  border: 2px solid #7dffb0;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #140a26;
  background: #7dffb0;
  text-decoration: none;
}

.ta-bouton-uv:hover {
  color: #140a26;
  background: #fff;
}

/* ----- Étapes numérotées "Comment ça se passe ?" ----- */
.ta-etapes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ta-etapes li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ta-etapes p {
  margin: 0;
  line-height: 1.55;
}

.ta-numero {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #810ece;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* Photo qui remplit toute sa colonne (à côté des étapes) */
.ta-photo-colonne {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

/* ----- Frise des mois "Quand réserver ?" (belly-painting) ----- */
.ta-frise {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ta-frise li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 4px;
}

/* La barre colorée en haut de chaque mois */
.ta-frise li::before {
  content: "";
  align-self: stretch;
  height: 10px;
  margin: 0 -4px;
  background: #d9c8ef;
}

.ta-frise li:first-child::before { border-radius: 6px 0 0 6px; }
.ta-frise li:last-child::before { border-radius: 0 6px 6px 0; }
.ta-frise .ta-frise-ideal::before { background: linear-gradient(90deg, #810ece, #35b8f5); }
.ta-frise .ta-frise-bien::before { background: linear-gradient(90deg, #35b8f5, #9ad7f5); }

.ta-frise strong {
  font-size: 1.35rem;
}

.ta-frise-ideal strong {
  color: #5a0a96;
}

.ta-frise .ta-frise-badge {
  font-weight: 700;
  color: #fff;
  background: #810ece;
  border-radius: 999px;
  padding: 3px 12px;
}

/* Sur téléphone : les mois l'un sous l'autre */
@media (max-width: 576px) {
  .ta-frise {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
}

/* ----- Petit encadré mauve avec icône (ex : "Toute la famille sur la photo") ----- */
.ta-encart {
  background: #f5f0fb;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ta-encart i {
  font-size: 1.6rem;
  color: #810ece;
  line-height: 1;
}

.ta-encart p {
  margin: 0;
  line-height: 1.55;
}

/* ----- Bandeau "Offrir une séance" (bon cadeau) ----- */
.ta-cadeau {
  border-radius: 16px;
  border: 2px solid #000;
  box-shadow: 6px 5px 1px 0 rgba(83, 10, 96, 0.6);
  padding: 32px 36px;
  background: linear-gradient(120deg, rgba(129, 14, 206, 0.92), rgba(53, 184, 245, 0.92));
  color: #fff;
}

@media (max-width: 576px) {
  .ta-cadeau {
    padding: 22px 18px;
  }
}

.ta-cadeau > i {
  font-size: 5rem;
  line-height: 1;
}

.ta-cadeau .ta-titre {
  color: #fff;
}

.ta-cadeau p {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Bouton blanc du bandeau cadeau */
.ta-bouton-blanc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 28px;
  border: 2px solid #000;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: #3b1f63;
  background: #fff;
  text-decoration: none;
  box-shadow: 6px 5px 1px 0 rgba(0, 0, 0, 0.35);
}

.ta-bouton-blanc:hover {
  color: #810ece;
}

/* ----- Bouton "Découvrir" en bas des cartes de prestations (page Animation artistique) ----- */
.ta-carte-bouton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 28px;
  border: 2px solid #000;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(90deg, #810ece, #35b8f5);
  text-decoration: none;
}

.ta-carte-bouton:hover {
  color: #fff;
  box-shadow: 0 0 14px #ff32d6;
}

/* Listes "Pour les particuliers / professionnels" */
.ta-liste {
  margin: 0;
  padding-left: 22px;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ----- Les atouts "Pourquoi faire appel à Marie ?" ----- */
.ta-atout {
  height: 100%;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: var(--ta-verre);
  -webkit-backdrop-filter: var(--ta-flou);
  backdrop-filter: var(--ta-flou);
}

.ta-atout i {
  font-size: 2rem;
  color: #810ece;
  line-height: 1;
}

.ta-atout h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0;
}

.ta-atout p {
  margin: 0;
  line-height: 1.55;
}

/* ----- Bandeau "VOUS HABITEZ DANS LA VIENNE ?" (traits violet et bleu) ----- */
.ta-bandeau {
  display: inline-block;
  padding: 10px 0;
  border-top: 2px solid #810ece;
  border-bottom: 2px solid #35b8f5;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #1e1b2e;
}

/* Phrase manuscrite au-dessus du dernier bouton */
.ta-final {
  font-family: "Dancing Script", cursive;
  font-size: 2.1rem;
  font-weight: 700;
  color: #1e1b2e;
}
