@font-face {
  font-family: "Gilda Display";
  src: url("fonts/gilda-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-900-italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Rammetto One";
  src: url("fonts/rammetto-one.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --vert: #2d3b26;
  --creme: #faf4e6;
  --beige: #ede0bb;
  --blanc: #fff;
  --ombre: rgb(45 59 38 / 0.3);

  --f-display: "Gilda Display", Georgia, "Times New Roman", serif;
  --f-condensed: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-italic: "Fraunces", Georgia, serif;
  --f-round: "Rammetto One", "Arial Black", sans-serif;
  --f-hand: "Kalam", "Comic Sans MS", cursive;
  --f-text: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-geo: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --rail: 0px;
  --section-y: 56px;
  --content: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--vert);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.45;
  font-synthesis: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

a {
  color: inherit;
}

.d {
  display: none;
}

.section {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) var(--gutter);
  padding-left: calc(var(--rail) + var(--gutter));
  background: var(--creme);
}

.about,
.creations,
.process {
  background: var(--beige);
}

.wrap {
  position: relative;
  max-width: var(--content);
  margin-inline: auto;
}

.rail {
  display: none;
}

.tab {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: calc(-1 * var(--section-y)) calc(-1 * var(--gutter)) 24px auto;
  padding: 0.1em 0.6em 0.2em;
  border-bottom-left-radius: 24px;
  background: var(--creme);
  box-shadow: -6px 6px 0 var(--ombre);
  font-family: var(--f-italic);
  font-size: clamp(1.9rem, 5.2vw, 4.67rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.25;
}

.tab--beige {
  background: var(--beige);
}

/* Video frames */

.screen {
  position: relative;
  overflow: hidden;
  background: #000;
}

.screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 496 / 800;
}

.phone .screen {
  position: absolute;
  top: 2.75%;
  left: 15.7%;
  width: 68.6%;
  height: 91.9%;
  border-radius: 10% / 4.6%;
}

.phone--fill video {
  object-fit: cover;
}

.phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sound {
  display: none;
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(19 22 32 / 0.6);
  color: var(--blanc);
  cursor: pointer;
}

.js .sound {
  display: block;
}

.sound::before {
  content: "";
  position: absolute;
  inset: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3z'/%3E%3Cpath d='M16 8.5l5.5 7M21.5 8.5l-5.5 7' stroke='%23000' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3z'/%3E%3Cpath d='M16 8.5l5.5 7M21.5 8.5l-5.5 7' stroke='%23000' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sound[aria-pressed="true"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13' stroke='%23000' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13' stroke='%23000' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

.sound:focus-visible {
  outline: 3px solid var(--creme);
  outline-offset: 2px;
}

.gallery {
  display: flex;
  gap: 16px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}

.gallery > .clip {
  flex: 0 0 72%;
  max-width: 300px;
  scroll-snap-align: center;
}

.clip figcaption {
  margin-top: 8px;
  font-family: var(--f-condensed);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

.gallery--plain .screen {
  aspect-ratio: 9 / 16;
}

/* Hero */

.hero {
  padding: 0;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px var(--gutter) 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 41%;
  opacity: 0.32;
}

.hero-title {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.hero-title span {
  display: block;
}

.hero-phone {
  max-width: min(300px, 78vw);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "titre titre"
    "intro intro"
    "caroline thomas"
    "texte texte";
  gap: 24px 20px;
  font-family: var(--f-hand);
}

.about-title {
  grid-area: titre;
  font-size: clamp(1.6rem, 2.65vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.about-intro {
  grid-area: intro;
  font-size: clamp(1.15rem, 1.82vw, 1.63rem);
  line-height: 1.38;
}

.about-text {
  grid-area: texte;
  font-size: clamp(1.15rem, 1.78vw, 1.6rem);
  line-height: 1.36;
}

.snapshot {
  position: relative;
  margin-top: 18px;
}

.snapshot > img:first-child {
  width: 100%;
  aspect-ratio: 331 / 400;
  object-fit: cover;
}

.snapshot--caroline {
  grid-area: caroline;
}

.snapshot--thomas {
  grid-area: thomas;
}

.snapshot--thomas > img:first-child {
  aspect-ratio: 287 / 433;
}

.tape {
  position: absolute;
  width: 62%;
  pointer-events: none;
}

.snapshot--caroline .tape {
  top: -6%;
  right: -22%;
  transform: rotate(34deg);
}

.snapshot--thomas .tape {
  top: -4%;
  left: -22%;
  transform: rotate(-28.6deg);
}

/* Sublimer */

.sublimer-title {
  margin-bottom: 28px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.42vw, 2.17rem);
  font-weight: 400;
  line-height: 1.2;
}

.sublimer-text {
  margin-top: 28px;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.58vw, 1.42rem);
  line-height: 1.38;
}

.sublimer-text p + p {
  margin-top: 1.4em;
}

/* Creations */

.creations-head {
  margin-bottom: 20px;
}

.category {
  font-family: var(--f-condensed);
  font-size: clamp(2.6rem, 4.15vw, 3.73rem);
  font-weight: 400;
  line-height: 1.1;
}

.category span {
  display: block;
}

.sound-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-condensed);
  font-size: 0.95rem;
}

.sound-note img {
  width: 22px;
  height: auto;
}

/* Tarifs */

.tarifs .tab {
  margin-bottom: 32px;
  font-weight: 900;
}

.tarifs-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.formules .category + .packs {
  margin-top: 40px;
}

.packs + .category {
  margin-top: 48px;
}

.packs {
  position: relative;
  display: grid;
  gap: 48px;
  justify-items: center;
}

.packs-arrow {
  display: none;
}

.pack {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 36px 16px 24px;
  border-radius: 36px;
  background: rgb(255 255 255 / 0.84);
  text-align: center;
  font-size: 1.06rem;
  line-height: 1.6;
}

.pack h4 {
  font-family: var(--f-round);
  font-size: clamp(1.45rem, 1.84vw, 1.66rem);
  font-weight: 400;
  line-height: 1.3;
}

.pack .pack-qty {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.pack .pack-gift {
  font-size: 1.15rem;
  font-weight: 700;
}

.pack sup,
.tarifs-note sup {
  font-size: 0.8em;
  line-height: 0;
}

.bow {
  position: absolute;
  top: -34px;
  left: -14px;
  width: 88px;
  height: auto;
}

.sparkle {
  position: absolute;
  top: -40px;
  left: 50px;
  width: 52px;
  height: auto;
  transform: rotate(-8deg);
}

.extras {
  align-self: center;
  width: 100%;
  max-width: 320px;
  padding: 28px 24px;
  border-radius: 30px;
  background: rgb(255 255 255 / 0.84);
  font-size: 1.19rem;
}

.extras h3 {
  font-family: var(--f-round);
  font-size: 1.66rem;
  font-weight: 400;
  text-align: center;
}

.extras ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.extras ul + h3 {
  margin-top: 28px;
}

.tarifs-note {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

/* Process */

.process-title {
  font-family: var(--f-round);
  font-size: clamp(1.9rem, 5.2vw, 4.67rem);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.12em;
}

.steps {
  margin: 28px 0 0;
  padding-left: 1.2em;
  font-size: clamp(1rem, 1.37vw, 1.23rem);
  line-height: 1.4;
}

.steps li + li {
  margin-top: 8px;
}

.divider {
  width: min(485px, 70%);
  margin: 48px auto;
  border: 0;
  border-top: 4px solid #000;
}

.faq {
  display: grid;
  gap: 28px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
}

.faq h3 {
  font-size: 1em;
  font-weight: 700;
}

.faq p {
  font-style: italic;
}

.faq p + h3 {
  margin-top: 1.4em;
}

/* Contact */

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-phone {
  order: 2;
  max-width: min(300px, 78vw);
}

.contact-body {
  position: relative;
  width: 100%;
  text-align: center;
}

.signature {
  width: 160px;
  margin: 0 0 16px auto;
}

.contact-lead {
  font-family: var(--f-hand);
  font-size: clamp(1.8rem, 3.86vw, 3.48rem);
  font-weight: 700;
  line-height: 1;
}

.contact-title {
  margin-top: 40px;
  font-family: var(--f-geo);
  font-size: clamp(2.2rem, 4.17vw, 3.75rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

.contact-mail {
  position: relative;
  margin-top: 24px;
  font-family: var(--f-geo);
  font-size: clamp(1.15rem, 2.5vw, 2.25rem);
  overflow-wrap: anywhere;
}

.contact-mail a {
  text-decoration: none;
}

.contact-mail a:hover,
.contact-mail a:focus-visible {
  text-decoration: underline;
}

.contact-mail .cursor {
  display: inline-block;
  width: 0.8em;
  height: auto;
  margin: 0 0 -0.9em -0.3em;
  vertical-align: baseline;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: clamp(1.4rem, 2.31vw, 2.08rem);
  font-weight: 700;
  text-decoration: none;
}

.social-icon {
  position: relative;
  display: block;
  width: 77px;
}

.social-icon img:first-child {
  width: 77px;
  height: 77px;
}

.social-icon .cursor {
  position: absolute;
  right: -22px;
  bottom: -14px;
  width: 29px;
  height: auto;
}

/* Tablet: rail and 3-column galleries */

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --rail: clamp(84px, 12.6vw, 182px);
    --section-y: 72px;
  }

  .rail {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: var(--rail);
    height: 100%;
    padding: 54px 0 30px;
    border-left: 2px solid var(--vert);
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 3.1vw, 2.75rem);
    line-height: 1;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-items: center;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 48px);
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .gallery > .clip {
    max-width: none;
  }

  .gallery--plain {
    max-width: 890px;
    margin-inline: auto;
  }

  .gallery--plain .clip {
    max-width: 188px;
    width: 100%;
    margin-inline: auto;
  }

  .hero {
    padding: 0 0 0 var(--rail);
  }

  .hero-inner {
    margin-right: clamp(0px, 2.6vw, 37px);
  }

  .faq {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .faq-col {
    padding: 0 24px;
  }

  .faq-col + .faq-col {
    border-left: 2px solid var(--vert);
  }

  .packs {
    grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
    justify-content: center;
    gap: 48px 24px;
  }

  .pack {
    max-width: none;
  }
}

/* Desktop */

@media (min-width: 1024px) {
  :root {
    --section-y: 80px;
  }

  .d {
    display: inline;
  }

  .tab {
    position: absolute;
    top: 0;
    right: clamp(0px, 2.6vw, 37px);
    width: min(47%, 683px);
    margin: 0;
    border-bottom-right-radius: 12px;
    text-align: center;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: clamp(260px, 24vw, 347px) 1fr;
    align-items: center;
    gap: 0 clamp(24px, 4vw, 64px);
    min-height: 778px;
    padding: 105px 0 112px clamp(32px, 6vw, 85px);
  }

  .hero-title {
    order: 2;
    text-align: left;
  }

  .hero-title span,
  .hero-title {
    white-space: nowrap;
  }

  .hero-phone {
    order: 1;
    max-width: 347px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 331fr) minmax(0, 330fr) minmax(0, 287fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "caroline titre titre"
      "caroline intro intro"
      "caroline . thomas"
      "texte texte thomas";
    gap: 0 clamp(32px, 4.2vw, 60px);
    padding-inline: clamp(0px, 4.2vw, 60px);
  }

  .about-title {
    justify-self: start;
    margin-top: 0;
  }

  .about-intro {
    margin-top: 16px;
    text-align: right;
  }

  .snapshot {
    margin-top: 0;
  }

  .snapshot--caroline {
    align-self: start;
    margin-top: -20px;
  }

  .snapshot--thomas {
    margin-top: 48px;
  }

  .about-text {
    margin-top: 32px;
  }

  .sublimer-title {
    margin-bottom: 30px;
    padding-left: 65px;
  }

  .sublimer-text {
    max-width: 840px;
    margin-left: auto;
    text-align: right;
  }

  .creations {
    padding-top: 48px;
  }

  .creations-head {
    min-height: 110px;
    padding-left: clamp(0px, 4vw, 50px);
  }

  .creations .gallery {
    max-width: 1140px;
    margin-inline: auto;
  }

  .creations .phone {
    max-width: 340px;
  }

  .clip figcaption {
    margin-top: 2px;
  }

  .tarifs {
    padding-top: 92px;
  }

  .tarifs .tab {
    margin: 0;
  }

  .tarifs-grid {
    max-width: 1180px;
  }

  .formules .category + .packs {
    margin-top: 44px;
  }

  .packs + .category {
    margin-top: 8px;
  }

  .packs {
    grid-template-columns: repeat(3, 250px);
    gap: 24px;
  }

  .packs-arrow {
    position: absolute;
    grid-area: 1 / 1 / 2 / -1;
    top: 0;
    left: 3%;
    z-index: 0;
    display: block;
    width: 94%;
    height: auto;
    opacity: 0.18;
    pointer-events: none;
  }

  .pack {
    aspect-ratio: 1;
    padding: 46px 4px 10px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .pack .pack-qty {
    font-size: 1.4rem;
  }

  .tarifs-note {
    margin-top: 8px;
  }

  .process {
    padding-top: 40px;
  }

  .process-title {
    padding-left: 40px;
  }

  .steps {
    margin-left: 64px;
  }

  .divider {
    margin: 56px auto 60px;
  }

  .faq {
    max-width: 1180px;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: clamp(260px, 24vw, 347px) 1fr;
    align-items: center;
    gap: 0 clamp(24px, 4vw, 64px);
    min-height: 620px;
    padding-left: clamp(0px, 6vw, 85px);
  }

  .contact-phone {
    order: 0;
    max-width: 347px;
  }

  .signature {
    position: absolute;
    top: -80px;
    right: 0;
    width: 180px;
    margin: 0;
  }

  .contact-lead {
    padding-top: 40px;
  }
}

@media (min-width: 1360px) {
  .tarifs-grid {
    display: grid;
    grid-template-columns: 1fr 172px;
    gap: 0 32px;
  }

  .packs {
    justify-content: start;
    gap: 40px;
    padding-left: clamp(0px, 7vw, 100px);
  }

  .extras {
    max-width: 172px;
    min-height: 420px;
    padding: 70px 8px 24px 10px;
    font-size: 1.1rem;
  }

  .tarifs-note {
    grid-column: 1 / -1;
  }
}
