/* Animated gradient properties for Services */
@property --sv-c1 {
  syntax: '<color>';
  inherits: false;
  initial-value: #1a3058;
}
@property --sv-c2 {
  syntax: '<color>';
  inherits: false;
  initial-value: #243a60;
}
@property --sv-c3 {
  syntax: '<color>';
  inherits: false;
  initial-value: #0e1628;
}
@property --sv-glow {
  syntax: '<color>';
  inherits: false;
  initial-value: rgba(220, 150, 50, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Baguette magique — pointe en haut à gauche (hotspot 4,2) */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f6f0d0'/%3E%3Cstop offset='100%25' stop-color='%23c9a96e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cline x1='4' y1='4' x2='24' y2='24' stroke='url(%23g)' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='4' cy='4' r='2.2' fill='%23fff'/%3E%3Cline x1='1' y1='4' x2='7' y2='4' stroke='%23fff' stroke-width='.7' opacity='.6'/%3E%3Cline x1='4' y1='1' x2='4' y2='7' stroke='%23fff' stroke-width='.7' opacity='.6'/%3E%3Cline x1='1.5' y1='1.5' x2='6.5' y2='6.5' stroke='%23fff' stroke-width='.5' opacity='.35'/%3E%3Cline x1='6.5' y1='1.5' x2='1.5' y2='6.5' stroke='%23fff' stroke-width='.5' opacity='.35'/%3E%3C/svg%3E") 4 2, auto;
}

/* Sparkle canvas */
#sparkle-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}


/* =========================================================
   HERO COMPONENT
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* --- Background layer --- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 120% at 50% 40%,
      transparent 30%,
      rgba(4, 8, 20, .65) 100%
    ),
    radial-gradient(ellipse 90% 70% at 52% 55%,
      rgba(180, 130, 60, .22) 0%,
      rgba(120, 80, 30, .08) 40%,
      transparent 70%
    ),
    radial-gradient(ellipse 100% 80% at 45% 20%,
      rgba(40, 70, 120, .30) 0%,
      transparent 60%
    ),
    linear-gradient(175deg,
      #0c1a2e 0%,
      #0a1628 30%,
      #111828 50%,
      #1a1510 75%,
      #0d0e14 100%
    );
  background-size: cover;
  background-position: center;
}

/* Grain/noise overlay */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}

/* Particules / etoiles subtiles */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 75% 25%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 40% 8%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 85% 12%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,.25), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.2), transparent),
    radial-gradient(1.5px 1.5px at 30% 35%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.2), transparent),
    radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,.25), transparent),
    radial-gradient(1px 1px at 70% 85%, rgba(255,255,255,.2), transparent),
    radial-gradient(1px 1px at 45% 92%, rgba(255,255,255,.15), transparent);
  pointer-events: none;
}

/* --- Content --- */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 auto;
  padding: 24px 24px 0;
  width: 100%;
  max-width: 640px;
}

/* Logo */
.hero__logo {
  width: min(340px, 70vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .40));
  margin-bottom: 0;
  animation: hero-fadeScale .9s cubic-bezier(.22, 1, .36, 1) both;
}

/* Tagline */
.hero__tagline {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 4.5vw, 34px);
  color: rgba(246, 245, 242, .92);
  letter-spacing: .3px;
  line-height: 1.3;
  margin-top: clamp(20px, 4dvh, 52px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
  animation: hero-fadeUp .8s cubic-bezier(.22, 1, .36, 1) .4s both;
}

/* CTA Decouvrir */
.hero__cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-fadeUp .8s cubic-bezier(.22, 1, .36, 1) .7s both;
  padding-bottom: clamp(20px, 3dvh, 48px);
  padding-top: 12px;
  text-decoration: none;
  color: rgba(246, 245, 242, .78);
  transition: color .25s ease;
}

.hero__cta:hover {
  color: rgba(246, 245, 242, 1);
}

.hero__cta-label {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 400;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.hero__cta-chevron {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  animation: hero-bounce 2.4s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* --- Hero responsive --- */
@media (min-width: 600px) {
  .hero__logo { width: min(380px, 55vw); }
}
@media (min-width: 1024px) {
  .hero__logo { width: min(420px, 40vw); }
}
@media (min-width: 1400px) {
  .hero__logo { width: 440px; }
}

/* --- Hero entrance animations --- */
@keyframes hero-fadeScale {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes hero-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Scroll-reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
              transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .25s; }
.reveal-d3 { transition-delay: .4s; }
.reveal-d4 { transition-delay: .55s; }
.reveal-d5 { transition-delay: .7s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .hero__tagline,
  .hero__cta,
  .hero__cta-chevron,
  .services__cta,
  .services__bg,
  .services__card,
  .services__card::before,
  .services__card.is-bounce-in,
  .services__card.is-bounce-out,
  .contact__social-link {
    animation: none;
  }
  .hero__bg > iframe {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================================
   HERO — video YouTube de fond (auto-detecte via :has(iframe))
   ========================================================= */

.hero__bg:has(iframe) {
  background: #060a14;
}

.hero__bg > iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-width: 177.78vh; /* 16/9 ratio — cover horizontal */
  min-height: 56.25vw; /* 9/16 ratio — cover vertical */
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  border: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero__bg > iframe.is-ready {
  opacity: 1;
}

.hero__bg:has(iframe)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 120% 120% at 50% 40%,
      rgba(4, 8, 20, .20) 30%,
      rgba(4, 8, 20, .65) 100%
    );
  pointer-events: none;
}

.hero__bg:has(iframe)::before {
  z-index: 2;
}


/* =========================================================
   SERVICES COMPONENT
   ========================================================= */

.services {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(80px, 12dvh, 140px) 24px;
}

/* CTA at bottom of services */
.services__cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(20px, 3dvh, 48px);
  padding-top: 12px;
  text-decoration: none;
  color: rgba(246, 245, 242, .78);
  transition: color .25s ease;
}

.services__cta:hover {
  color: rgba(246, 245, 242, 1);
}

.services:has(.services__cta) {
  padding-bottom: 0;
}

/* --- Background — animated gradient + mouse follow --- */
.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  --sv-mx: 50%;
  --sv-my: 50%;
  background:
    radial-gradient(ellipse 70% 60% at var(--sv-mx) var(--sv-my),
      var(--sv-glow),
      transparent 55%
    ),
    radial-gradient(ellipse 110% 90% at 50% 50%,
      var(--sv-c1) 0%,
      var(--sv-c2) 50%,
      var(--sv-c3) 100%
    );
  animation: sv-shift 24s ease infinite;
}

@keyframes sv-shift {
  0%, 100% {
    --sv-c1: #1a3058;
    --sv-c2: #243a60;
    --sv-c3: #0e1628;
    --sv-glow: rgba(220, 150, 50, 0.28);
  }
  16% {
    --sv-c1: #2a2058;
    --sv-c2: #382a6a;
    --sv-c3: #140e28;
    --sv-glow: rgba(160, 100, 220, 0.25);
  }
  33% {
    --sv-c1: #14385a;
    --sv-c2: #1e4868;
    --sv-c3: #0c1a2e;
    --sv-glow: rgba(60, 190, 210, 0.25);
  }
  50% {
    --sv-c1: #2e3040;
    --sv-c2: #3a4050;
    --sv-c3: #141820;
    --sv-glow: rgba(240, 170, 50, 0.32);
  }
  66% {
    --sv-c1: #302050;
    --sv-c2: #402a60;
    --sv-c3: #180e28;
    --sv-glow: rgba(180, 100, 180, 0.25);
  }
  83% {
    --sv-c1: #163050;
    --sv-c2: #204060;
    --sv-c3: #0e1828;
    --sv-glow: rgba(100, 180, 220, 0.28);
  }
}

/* Grain subtil */
.services__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .25;
  pointer-events: none;
}

/* --- Content --- */
.services__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 auto;
  width: 100%;
  max-width: 1080px;
}

/* Heading */
.services__title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 46px);
  color: rgba(246, 245, 242, .95);
  line-height: 1.2;
  letter-spacing: .2px;
  max-width: 18em;
}

/* Intro text */
.services__intro {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(246, 245, 242, .60);
  line-height: 1.7;
  max-width: 52ch;
  margin-top: clamp(16px, 2.5vh, 28px);
}

/* Separator line */
.services__sep {
  width: 48px;
  height: 1px;
  background: rgba(201, 169, 110, .40);
  border: none;
  margin: clamp(28px, 4vh, 48px) 0;
}

/* Cards grid */
.services__grid {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
  flex-wrap: wrap;
}

/* Single card — organic drop shape */
.services__card {
  position: relative;
  width: clamp(200px, 26vw, 280px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  z-index: 1;
  cursor: default;
  transition: transform .1s ease;
  animation: card-float-1 14s ease-in-out infinite;
}

.services__card:nth-child(2) {
  animation: card-float-2 16s ease-in-out infinite;
  animation-delay: -5s;
}

.services__card:nth-child(3) {
  animation: card-float-3 12s ease-in-out infinite;
  animation-delay: -9s;
}

@keyframes card-float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20%      { transform: translate(8px, -12px) rotate(.6deg); }
  40%      { transform: translate(-5px, -6px) rotate(-.4deg); }
  60%      { transform: translate(6px, 10px) rotate(.3deg); }
  80%      { transform: translate(-8px, 4px) rotate(-.5deg); }
}

@keyframes card-float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  18%      { transform: translate(-10px, -8px) rotate(-.5deg); }
  38%      { transform: translate(6px, 12px) rotate(.4deg); }
  58%      { transform: translate(-4px, -10px) rotate(-.3deg); }
  78%      { transform: translate(10px, 6px) rotate(.6deg); }
}

@keyframes card-float-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  22%      { transform: translate(10px, 8px) rotate(.5deg); }
  42%      { transform: translate(-8px, -12px) rotate(-.6deg); }
  62%      { transform: translate(4px, -6px) rotate(.3deg); }
  72%      { transform: translate(-6px, 10px) rotate(-.4deg); }
}

/* Hover in */
.services__card.is-bounce-in {
  animation: blob-enter 1.4s cubic-bezier(.25, .1, .25, 1) forwards;
}

/* Hover out */
.services__card.is-bounce-out {
  animation: blob-leave 1.2s cubic-bezier(.25, .1, .25, 1) forwards;
}

@keyframes blob-enter {
  0%   { transform: scale(1, 1) rotate(0deg); }
  10%  { transform: scale(.97, 1.03) rotate(-.8deg); }
  22%  { transform: scale(1.015, .985) rotate(.5deg); }
  34%  { transform: scale(.985, 1.01) rotate(-.25deg); }
  50%  { transform: scale(.98) rotate(0deg); }
  75%  { transform: scale(1.005) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes blob-leave {
  0%   { transform: scale(1, 1) rotate(0deg); }
  10%  { transform: scale(1.03, .97) rotate(.8deg); }
  22%  { transform: scale(.985, 1.015) rotate(-.5deg); }
  34%  { transform: scale(1.01, .99) rotate(.25deg); }
  50%  { transform: scale(1.025) rotate(0deg); }
  75%  { transform: scale(.995) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Blob background */
.services__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 245, 242, .82);
  border: 1px solid rgba(246, 245, 242, .12);
  border-radius: 62% 38% 52% 48% / 48% 58% 42% 52%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  animation: blob-morph-1 24s ease-in-out infinite, blob-float-1 18s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
}

.services__card:hover::before {
  background: rgba(246, 245, 242, .95);
  border-color: rgba(246, 245, 242, .25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.services__card:nth-child(2)::before {
  border-radius: 48% 52% 42% 58% / 56% 44% 56% 44%;
  animation: blob-morph-2 28s ease-in-out infinite, blob-float-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.services__card:nth-child(3)::before {
  border-radius: 54% 46% 58% 42% / 42% 54% 46% 58%;
  animation: blob-morph-3 22s ease-in-out infinite, blob-float-3 16s ease-in-out infinite;
  animation-delay: -12s;
}

.services__card-name {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(20px, 2.5vw, 28px);
  color: rgba(10, 14, 24, .88);
  letter-spacing: .2px;
  margin-bottom: 6px;
}

.services__card-name::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(160, 130, 80, .55);
  margin: 10px auto 0;
}

.services__card-desc {
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(10, 14, 24, .58);
  line-height: 1.55;
}

/* Blob morph keyframes */
@keyframes blob-morph-1 {
  0%, 100% { border-radius: 62% 38% 52% 48% / 48% 58% 42% 52%; }
  14%      { border-radius: 48% 52% 38% 62% / 58% 42% 52% 48%; }
  28%      { border-radius: 30% 70% 70% 30% / 70% 30% 50% 50%; }
  42%      { border-radius: 54% 46% 62% 38% / 42% 56% 44% 56%; }
  57%      { border-radius: 70% 30% 30% 70% / 30% 70% 50% 50%; }
  71%      { border-radius: 40% 60% 48% 52% / 52% 40% 60% 48%; }
  85%      { border-radius: 50% 50% 30% 70% / 30% 30% 70% 70%; }
}

@keyframes blob-morph-2 {
  0%, 100% { border-radius: 48% 52% 42% 58% / 56% 44% 56% 44%; }
  14%      { border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%; }
  28%      { border-radius: 56% 44% 58% 42% / 42% 58% 42% 58%; }
  42%      { border-radius: 30% 30% 70% 70% / 50% 50% 30% 70%; }
  57%      { border-radius: 42% 58% 48% 52% / 58% 42% 58% 42%; }
  71%      { border-radius: 50% 50% 70% 30% / 70% 70% 30% 30%; }
  85%      { border-radius: 58% 42% 44% 56% / 44% 56% 44% 56%; }
}

@keyframes blob-morph-3 {
  0%, 100% { border-radius: 54% 46% 58% 42% / 42% 54% 46% 58%; }
  14%      { border-radius: 42% 58% 46% 54% / 58% 42% 58% 42%; }
  28%      { border-radius: 50% 50% 25% 75% / 25% 25% 75% 75%; }
  42%      { border-radius: 58% 42% 54% 46% / 46% 58% 42% 54%; }
  57%      { border-radius: 75% 25% 50% 50% / 75% 75% 25% 25%; }
  71%      { border-radius: 46% 54% 42% 58% / 54% 46% 54% 46%; }
  85%      { border-radius: 25% 75% 75% 25% / 50% 50% 75% 25%; }
}

@keyframes blob-float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-6px) rotate(1deg); }
  66%      { transform: translateY(4px) rotate(-.8deg); }
}

@keyframes blob-float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40%      { transform: translateY(5px) rotate(-.8deg); }
  70%      { transform: translateY(-5px) rotate(.6deg); }
}

@keyframes blob-float-3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-4px) rotate(-.6deg); }
  60%      { transform: translateY(6px) rotate(1deg); }
}

/* --- Services responsive --- */
@media (max-width: 599px) {
  .services__card { width: clamp(180px, 55vw, 240px); }
}
@media (min-width: 1024px) {
  .services__grid { gap: 56px; }
}


/* =========================================================
   CONTACT COMPONENT
   ========================================================= */

.contact {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(60px, 8dvh, 120px) 24px;
  background: #b8a9d4;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  width: 100%;
  max-width: 1100px;
}

/* --- Left column: photo + social --- */
.contact__left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__photo-wrapper {
  position: relative;
  width: clamp(260px, 30vw, 400px);
  height: clamp(320px, 36vw, 480px);
}

/* Decorative blobs behind the photo */
.contact__blob {
  position: absolute;
  border-radius: 50%;
}

.contact__blob--purple {
  width: 75%;
  height: 60%;
  top: 0;
  left: 0;
  background: #9b8bc4;
}

.contact__blob--gold {
  width: 55%;
  height: 50%;
  bottom: 0;
  right: 0;
  background: #e8b84b;
}

.contact__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .18));
}

/* Social media block */
.contact__social {
  margin-top: clamp(20px, 3vh, 36px);
  text-align: center;
}

.contact__social-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  color: #2a2a2a;
  margin-bottom: 12px;
}

.contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.contact__social-link:hover {
  background: #555;
  transform: scale(1.1);
}

.contact__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact__copyright {
  font-size: 13px;
  color: #555;
}

/* --- Right column: form --- */
.contact__right {
  flex: 1 1 auto;
}

.contact__title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.contact__desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: clamp(24px, 3vh, 36px);
}

.contact__form {
  background: #e8e6e6;
  border-radius: 8px;
  padding: clamp(20px, 2.5vw, 32px);
}

.contact__form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.contact__field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact__field--full {
  width: 100%;
  margin-bottom: 16px;
}

.contact__label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: box-shadow .2s ease;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: #aaa;
}

.contact__input:focus,
.contact__textarea:focus {
  box-shadow: 0 0 0 2px rgba(155, 139, 196, .5);
}

.contact__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__submit {
  display: inline-block;
  padding: 12px 36px;
  background: #7c6ba0;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, transform .15s ease;
}

.contact__submit:hover {
  background: #6a5a8e;
  transform: translateY(-1px);
}

.contact__submit:active {
  transform: translateY(0);
}

/* --- Contact responsive --- */
@media (max-width: 799px) {
  .contact__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact__photo-wrapper {
    width: clamp(200px, 50vw, 300px);
    height: clamp(250px, 60vw, 360px);
  }

  .contact__right {
    width: 100%;
  }

  .contact__title,
  .contact__desc {
    text-align: center;
  }

  .contact__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .contact__form-row {
    flex-direction: column;
  }

  .contact__submit {
    width: 100%;
  }
}


/* =========================================================
   FLASH MESSAGES
   ========================================================= */

.contact__flash {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
}

.contact__flash--success {
  background: rgba(72, 187, 120, .15);
  color: #276749;
  border: 1px solid rgba(72, 187, 120, .3);
}

.contact__flash--error {
  background: rgba(245, 101, 101, .15);
  color: #c53030;
  border: 1px solid rgba(245, 101, 101, .3);
}
