/* =========================================================
   FICHIER : styles.css — Styles globaux du site
   PROJET  : Naïalastar — site web
   ========================================================= */

/* =========================================================
   1) VARIABLES (couleurs, rayons, ombres, typo)
   ========================================================= */
:root {
  /* Fond (palette) */
  --g1: #ff9bb3;
  --g2: #ffb7a5;
  --g3: #e2b9ff;
  --g4: #b6c8f5;

  /* Accent rose → pêche */
  --a1: #ff6fa1;
  --a2: #ffb07a;

  /* Neutres */
  --white: #fff;
  --dark: #12131a;

  /* Cartes */
  --card: rgba(255, 255, 255, 0.94);
  --card2: rgba(255, 255, 255, 0.97);
  --stroke: rgba(255, 255, 255, 0.75);

  /* Rayons */
  --r-xl: 28px;
  --r-pill: 999px;
  --r-lg: 18px;
  --r-md: 16px;

  /* Ombres */
  --shadow-1: 0 22px 70px rgba(0, 0, 0, 0.18);
  --shadow-2: 0 12px 34px rgba(0, 0, 0, 0.12);

  /* Typo */
  --font-ui:
    "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-signature: "Allura", cursive;

  /* Détails */
  --star: #ffd84d;

  /* Texte sur cartes claires */
  --text-strong: rgba(18, 19, 26, 0.92);
  --text: rgba(18, 19, 26, 0.84);
  --text-soft: rgba(18, 19, 26, 0.72);
}

/* =========================================================
   2) BASE (reset léger + fond + liens)
   ========================================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--white);
  background:
    radial-gradient(
      900px 520px at 10% 20%,
      rgba(255, 255, 255, 0.22),
      transparent 62%
    ),
    radial-gradient(
      980px 560px at 90% 10%,
      rgba(255, 255, 255, 0.18),
      transparent 62%
    ),
    linear-gradient(
      135deg,
      var(--g1) 0%,
      var(--g2) 35%,
      var(--g3) 70%,
      var(--g4) 100%
    );
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =========================================================
   3) DÉCOR ARRIÈRE-PLAN
   ========================================================= */
.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
}
.blob--a {
  width: 520px;
  height: 520px;
  left: -180px;
  top: 160px;
  background: rgba(255, 255, 255, 0.22);
}
.blob--b {
  width: 620px;
  height: 620px;
  right: -220px;
  top: -160px;
  background: rgba(255, 255, 255, 0.18);
}
.blob--c {
  width: 460px;
  height: 460px;
  right: 10%;
  bottom: -240px;
  background: rgba(255, 255, 255, 0.16);
}
.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.3) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  opacity: 0.26;
}

/* =========================================================
   4) HEADER + NAVIGATION
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}
.header.is-top {
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.18);
}
.brand__handle {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(18, 19, 26, 0.78);
  font-weight: 800;
}
.navpill {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.navpill__link {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  color: rgba(18, 19, 26, 0.78);
  font-weight: 850;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}
.navpill__link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.42);
}
.navpill__link--cta {
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.22),
    rgba(255, 176, 122, 0.22)
  );
  border: 1px solid rgba(255, 111, 161, 0.18);
}

/* =========================================================
   5) SECTIONS (titres + espacements)
   ========================================================= */
.section {
  padding: 68px 0;
  position: relative;
  z-index: 1;
}
.section__head {
  margin-bottom: 16px;
}
.h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.01em;
}
.section__sub {
  opacity: 1;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   6) CARTES + TEXTE
   ========================================================= */
.card {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}
.card--solid {
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--dark);
  padding: 18px 16px;
}
.card--solid p {
  margin-bottom: 14px;
}
.card--solid strong {
  font-weight: 800;
  color: rgba(18, 19, 26, 0.95);
}
.card--xl {
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-1);
  background: var(--card2);
}
.card--accent {
  border: 1px solid rgba(255, 111, 161, 0.3);
}
.card--accent2 {
  border: 1px solid rgba(255, 176, 122, 0.3);
}
.card--accentSoft {
  background:
    linear-gradient(135deg, rgba(255, 111, 161, 0.1), rgba(255, 176, 122, 0.1)),
    var(--card);
  border: 1px solid rgba(255, 111, 161, 0.18);
}
.h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 950;
  color: rgba(18, 19, 26, 0.96);
  letter-spacing: 0.01em;
}
.h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.75),
    rgba(255, 176, 122, 0.75)
  );
  opacity: 0.9;
}
.p {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

/* =========================================================
   7) HERO (mise en page + contenus)
   ========================================================= */
.hero {
  padding-top: 34px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.hero__pitch {
  color: var(--text);
}
.hero__intention {
  margin: 16px auto 28px;
  max-width: 56ch;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 650;
  color: rgba(18, 19, 26, 0.9);
}

/* Pills au-dessus du logo */
.hero__topline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(18, 19, 26, 0.1);
  font-weight: 900;
  font-size: 12px;
  color: rgba(18, 19, 26, 0.8);
}
.pill--grad {
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.4),
    rgba(255, 176, 122, 0.4)
  );
}
.pill--tint {
  background: rgba(255, 111, 161, 0.1);
  border-color: rgba(255, 111, 161, 0.16);
}

/* =========================================================
   8) LOGO
   ========================================================= */
.logo {
  text-align: center;
}
.logo__name {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 0;
  line-height: 0.85;
  font-weight: 400;
  font-family: var(--font-signature);
  font-size: clamp(78px, 9vw, 154px);
}
.logo__nameText {
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 4px 10px rgba(255, 111, 161, 0.28),
    0 8px 18px rgba(255, 176, 122, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.1);
}
.logo__spark {
  display: inline-block;
  transform: translateY(12px);
  font-size: clamp(22px, 3vw, 44px);
  color: var(--star);
  text-shadow:
    0 0 18px rgba(255, 216, 77, 0.45),
    0 10px 24px rgba(255, 216, 77, 0.25);
}
.logo__sub {
  margin-top: -6px;
  text-align: center;
}
.logo__subText {
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(18px, 2.8vw, 30px);
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.9),
    rgba(255, 176, 122, 0.9)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   9) BOUTONS
   ========================================================= */
.hero__actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 900;
  font-size: 15px;
  border: 1px solid rgba(18, 19, 26, 0.12);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    filter 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.btn--primary {
  position: relative;
  overflow: hidden;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 950;
  min-width: 190px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.7),
    rgba(255, 176, 122, 0.7)
  );
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 111, 161, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  filter: brightness(1.06) saturate(1.06);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-60%) rotate(12deg);
  opacity: 0;
  transition:
    transform 0.45s ease,
    opacity 0.2s ease;
}
.btn--primary:hover::after {
  opacity: 1;
  transform: translateX(40%) rotate(12deg);
}
.btn--full {
  width: 100%;
}
.btn--big {
  padding: 16px 28px;
  font-size: 16px;
}

/* =========================================================
   10) LIENS RÉSEAUX (mini liens sous le bouton)
   ========================================================= */
.mini-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mini-link {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.1),
    rgba(255, 176, 122, 0.1)
  );
  border: 1px solid rgba(255, 111, 161, 0.16);
  font-weight: 900;
  font-size: 12px;
  color: rgba(18, 19, 26, 0.78);
}
.mini-link:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.16),
    rgba(255, 176, 122, 0.16)
  );
}

/* =========================================================
   11) PHOTO + KPI + NOTE
   ========================================================= */
.card--photo {
  background: var(--card2);
  border: 1px solid var(--stroke);
  padding: 14px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
}
.photo__frame {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 111, 161, 0.16);
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      700px 420px at 30% 20%,
      rgba(255, 255, 255, 0.55),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      rgba(255, 111, 161, 0.12),
      rgba(255, 176, 122, 0.12)
    );
}
.photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: rgba(18, 19, 26, 0.8);
}
.photo__phTitle {
  margin: 0;
  font-weight: 950;
  font-size: 16px;
}
.photo__phText {
  margin: 10px 0 0;
  line-height: 1.5;
}
.photo__placeholder code {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 111, 161, 0.18);
  padding: 2px 6px;
  border-radius: 8px;
}

/* KPI */
.kpis {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.kpi {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 111, 161, 0.16);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.1),
    rgba(255, 176, 122, 0.1)
  );
}
.kpi--main {
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.28),
    rgba(255, 176, 122, 0.28)
  );
  border-color: rgba(255, 111, 161, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}
.kpi--soft {
  background: rgba(255, 111, 161, 0.08);
}
.kpi__n {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0.02em;
  color: rgba(18, 19, 26, 0.96);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.kpi__l {
  margin: 6px 0 0;
  font-weight: 900;
  color: rgba(18, 19, 26, 0.78);
  font-size: 12px;
}

/* Note */
.note {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 111, 161, 0.16);
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.1),
    rgba(255, 176, 122, 0.1)
  );
}
.note__t {
  margin: 0;
  font-weight: 950;
  color: rgba(18, 19, 26, 0.92);
}
.note__p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
  color: rgba(18, 19, 26, 0.9);
}

/* =========================================================
   12) GRILLES (À propos)
   ========================================================= */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.list {
  margin: 0;
  padding-left: 18px;
  padding-top: 6px;
  line-height: 1.75;
  color: rgba(18, 19, 26, 0.88);
}
.list li {
  margin: 10px 0;
  font-weight: 500;
  color: rgba(18, 19, 26, 0.9);
}
.list li::marker {
  color: rgba(255, 111, 161, 0.7);
}
.strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.strip__item {
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 111, 161, 0.08),
    rgba(255, 176, 122, 0.08)
  );
  border: 1px solid rgba(255, 111, 161, 0.14);
}
.strip__k {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  opacity: 0.75;
}
.strip__v {
  font-size: 15px;
  font-weight: 800;
  color: rgba(18, 19, 26, 0.95);
}

/* =========================================================
   13) RÉSEAUX (cartes des liens)
   ========================================================= */
#reseaux .h2 {
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
#reseaux .section__sub {
  opacity: 1;
  color: rgba(255, 255, 255, 0.92);
}
#reseaux .socials {
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  border-radius: var(--r-xl);
  background: var(--card2);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  color: var(--dark);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.social:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 111, 161, 0.35);
}
.social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 240px at 20% 0%,
    rgba(255, 111, 161, 0.14),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.18s ease;
}
.social:hover::before {
  opacity: 1;
}
.social__name {
  margin: 0;
  font-weight: 950;
  font-size: 16px;
}
.social__meta {
  margin: 6px 0 0;
  color: rgba(18, 19, 26, 0.78);
  font-weight: 700;
}
.social__go {
  opacity: 0.65;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.social:hover .social__go {
  transform: translateX(8px);
  opacity: 1;
}
.social--tiktok {
  outline: 2px solid rgba(255, 111, 161, 0.34);
  background:
    linear-gradient(
      135deg,
      rgba(255, 111, 161, 0.1),
      rgba(255, 176, 122, 0.08)
    ),
    var(--card2);
}
.social--insta {
  outline: 2px solid rgba(255, 176, 122, 0.24);
}
.social--yt {
  outline: 2px solid rgba(255, 111, 161, 0.16);
}

/* =========================================================
   14) FORMULAIRE
   ========================================================= */
.form {
  display: grid;
  gap: 14px;
}
.form--big {
  padding: 26px 22px;
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field {
  display: grid;
  gap: 8px;
}
.field span {
  font-size: 13px;
  font-weight: 950;
  color: rgba(18, 19, 26, 0.86);
}
input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 111, 161, 0.18);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(18, 19, 26, 0.92);
  padding: 14px 12px;
  outline: none;
  font-size: 15px;
}
textarea {
  resize: vertical;
  min-height: 170px;
}
input::placeholder,
textarea::placeholder {
  color: rgba(18, 19, 26, 0.45);
}
.form__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(18, 19, 26, 0.62);
}

/* =========================================================
   15) PIED DE PAGE
   ========================================================= */
.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__small {
  opacity: 0.95;
}

/* =========================================================
   16) RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .socials {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: 1fr;
  }
  .strip {
    grid-template-columns: 1fr;
  }
  .form__grid {
    grid-template-columns: 1fr;
  }
}
