@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --font-display: 'League Spartan', sans-serif;
  --font-base: 'Inter', sans-serif;
}

:root { --vh: 1dvh; } .screen{min-height:100dvh;}
@supports not (height:100dvh){ .screen{min-height:calc(var(--vh,1vh)*100);} }


html,
body {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
body {
  user-select: none;
}

body::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

body.lock-scroll {
  overflow: hidden !important;
  height: 100vh;
}

h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lead {
  font-family: var(--font-text);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

p {
  font-family: var(--font-text);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
}


button {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
}

.scroll-hint {
  font-family: var(--font-base);
  font-size: 0.9rem;
  color: rgba(26, 26, 26, 0.5);
  text-align: center;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  margin-top: 2rem;

}

.scroll-hint.animate {
  animation: scrollPulse 1.5s ease forwards;
}

@keyframes scrollPulse {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
    opacity: 1;
    color: rgba(26, 26, 26, 1);
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 2rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: var(--font-base);
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.8;
  margin: 1rem 0;
}

.hero-baseline {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.6;
}

.hero-buttons {
  margin-top: 2em;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

/* Boutons uniformes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em 0.5em;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 0.8rem;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn .icon {
  order: 0;
  display: inline-flex;
  align-items: center;
  transform: translateX(0);
  color: #1a1a1a;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover : glisse à droite et devient blanc */
.btn:hover .icon {
  order: 1;
  transform: translateX(0.5em);
  color: rgb(235, 214, 173);;
  margin-right: 1em;
}

.btn:hover {
  background-color: #1a1a1a;
  color: rgb(235, 214, 173); /* sable doux */
  /*border: 1px solid rgb(235, 214, 173);;*/
}

.btn .btn-text {
  padding: 0 1em 0 0;
}
.btn:hover .btn-text {
  padding: 0 0 0 1em; /* laisse l’icône s’installer */
}

.btn:hover .icon-about {
  transform: translateY(3px);
  transform: rotate(90deg);
}

body,
p {
  font-family: var(--font-base);
  font-weight: 300;
  line-height: 1.5;
}

.container {
  z-index: 2;
  width: 100%;
  height: auto;
  min-height: 100vh;
  position: relative;
  top: 0;
  left: 0;
  color: #1a1a1a;
  backdrop-filter: none; /* ou retire cette ligne */
  background: transparent;
}

.page-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  position: relative;
  padding: 5vh 10vw;
  flex-direction: column;
  justify-content: center;
  transform: none;
  transition: none;
  align-items: center;
}

.section-content {
  opacity: 0;
  font-size: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s ease;
}

.page-section.no-reveal .section-content {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transition: none;
}

.page-section.visible .section-content {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: var(--font-base);
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.8;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hero-baseline {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.6;
  text-align: center;
}

.about-section .about-manifeste {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.8;
  text-align: center;
}

.about-manifeste span {
  opacity: 0;
  transform: translateY(10px);
  display: inline-block;
}

.page-section.visible .about-manifeste span {
  animation: manifesteFade 0.6s ease forwards;
}

.page-section.visible .about-manifeste span:nth-child(1) { animation-delay: 0.25s; }
.page-section.visible .about-manifeste span:nth-child(2) { animation-delay: 0.45s; }
.page-section.visible .about-manifeste span:nth-child(3) { animation-delay: 0.7s; }
.page-section.visible .about-manifeste span:nth-child(4) { animation-delay: 0.5s; }
.page-section.visible .about-manifeste span:nth-child(5) { animation-delay: 0.3s; }
.page-section.visible .about-manifeste span:nth-child(6) { animation-delay: 0.4s; }
/* etc. */

@keyframes manifesteFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section .section-content {
  max-width: 800px;
  text-align: left;
}

.about-section p {
  font-family: var(--font-base);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.section-content > p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.page-section.visible .section-content > p {
  opacity: 1;
  transform: translateY(0);
}

#placeholder .pin-text {
    font-size: 10vw;
    opacity: 0.1;
    text-align: center;
}
.intro{

  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
/* Colonne gauche */
.services-grid {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 280px;
}
.services-layout {
  display: flex;
  flex-direction: row;
  gap: 5vw;
  align-items: flex-start;
  flex-wrap: wrap;
}

.services-list {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}
@media (min-height: 950px) {
  .services-list {
    gap: 2rem;
  }
}

.services-description {
  flex: 2;
  min-height: 200px;
  font-style: italic;
  line-height: 1.6;
  color: #696969;
  padding-top: 1rem;
}

#description {
  font-size: 3rem;
  padding-top: 3rem;         /* descend un peu */
  padding-right: 4vw;        /* recule vers la droite */
  max-width: 700px;          /* limite la ligne */
  text-align: right;         /* optionnel : équilibre optique */
  font-weight: 100;
}
.service-card {
  cursor: pointer;
  padding: 0.5rem;
  transition: background 0.3s ease;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-card.actif {
  transform: translateX(6px);
  background-color: rgba(0, 0, 0, 0.03);
}
.subtitle {
  font-style: italic;
  color: #444;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .services-description {
    display: none;
  }
  .scroll-hint{
    opacity: 0;
  }
   #services{
    display:block !important;
    visibility:visible !important;
    overflow:visible;
    padding: 8vh 6vw; /* un peu d'air */
  }
  .services-layout{ flex-direction: column; gap: 1.25rem; }
  .services-list{ max-width: none; }
  .service-card{ padding: .6rem .4rem; }
  .service-card::after{
    content: attr(data-description);
    display: block;
    margin-top: .5rem;
    font-size: 1rem;            /* + lisible */
    line-height: 1.6;
    font-style: italic;
    color: #333;                 /* plus contrasté */
  }
}

#contact {
  padding: 8vh 4vw;
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

#contact .contact-title{
  font-size: clamp(22px, 5.2vw, 32px);
  line-height: 1.3;
}

#contact p{
  font-size: clamp(16px, 4.2vw, 20px);
  line-height: 1.6;
  margin: .5rem 0 1rem;
}

.contact-text {
  font-size: 1vw;
  color: #444;
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 1rem;
  margin: 0.2rem 0;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0;
  transition: letter-spacing 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-info a:hover {
  border-color: rgba(0, 0, 0, 0.3);
  letter-spacing: 0.03em; /* subtil mais perceptible */
}

#contact .contact-info a{
  display: inline-block;      /* padding appliqué */
  padding: 10px 12px;         /* ↑ zone tactile (≥44px avec la ligne) */
  border-bottom: 1px solid transparent;
}

/* Arrière-plan flouté + fondu */
body.form-active::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 999;
}
body.form-active::before {
  opacity: 1;
}

#formNarratif {
  display: none;
}

/* === WRAPPER GENERAL DU FORMULAIRE === */
.modal-fullscreen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 10000;
}

.modal-wrapper {
  max-width: 1080px;
  width: 99vw;
  margin: auto;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  background: #fdfaf6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #444;
  z-index: 100;
}

/* === PANNEAU GAUCHE === */
.form-panel {
  flex: 1 1 60%;
  padding: 3rem;
  background: #fdfaf6;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
  scroll-behavior: smooth;
}

.form-panel::-webkit-scrollbar {
  display: none;
}
.form-panel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.form-panel h2 {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.3;
}

.form-panel h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.5;
}

textarea{
  resize: none;
}

input,select,textarea{font-size:16px}

input,
textarea {
  font-size: 1rem;
  padding: 0.6rem 0.4rem;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-family: inherit;
  margin-bottom: 1.2rem;
  display: inline-block;
  width: 20rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-bottom-color: #1a1a1a;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0,0,0,0.35);
  font-style: italic;
}

.input-file {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.file-wrapper {
  position: relative;
  display: inline-block;
  font-family: var(--font-base);
  font-weight: 300;
  line-height: 1.5;
  font-size: 1rem;        /* ou 16px selon ton système */
  font-family: inherit;
  color: #1a1a1a;
}

.file-label {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px dashed #d8d2c4;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  background-color: transparent;
  font-family: inherit;
  font-size: 0.8rem;
}

.file-label.selected {
  background-color: #d8d2c4;
  color: #1a1a1a;
}

.file-wrapper:hover .file-label {
  background-color: #ece8de;
}

/*
fieldset {
  border: none;
  padding: 0;
  margin-top: 1.5rem;
}

fieldset legend {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
}

fieldset input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

fieldset input[type="checkbox"]:checked {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

fieldset input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
*/
button[type="submit"] {
  display: inline-block;
  margin-top: 2rem;
  background: #1a1a1a;
  color: white;
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #333;
}

a,button,[role="button"]{min-width:44px;min-height:44px}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .modal-wrapper {
    flex-direction: column;
  }
  .deliverable-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

.close {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 300;
    position: absolute;

    cursor: pointer;
    z-index: 100;
    transition: transform 0.2s ease;

    top: 2rem;
    right: 2rem;
}

.close:hover {
    transform: scale(1.2);
}

/* === TAG GROUP === */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 700px;
  margin-bottom: 1.4rem;
}

.deliverable-group {
  margin-top: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.deliverable-group .form-label {
  min-width: 160px;
  padding-top: 0.4rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: inherit;
  margin: 0;
}

.tag {
  padding: 0.6rem 1.2rem;
  background-color:transparent;
  border: 1px dashed #d8d2c4;
  border-radius: 2rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag:hover {
  background-color: #ece8de;
}

.tag.selected {
  background-color: #d8d2c4;
  color: #1a1a1a;
}

.floating-button {
    position: fixed;
    border-radius: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: 16px;
    width: 56px; height: 56px;   /* vrai hitbox 44+ */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));
}

.floating-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    animation: cubeFloat 4s ease-in-out infinite;
    position: relative;
}

.cube-drop-shadow {
    position: absolute;
    bottom: -6px;
    width: 36px;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 80%);
    border-radius: 50%;
    z-index: 1;
    animation: shadowFloat 4s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

/* Flottement doux */
@keyframes cubeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Respiration de l’ombre synchronisée */
@keyframes shadowFloat {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.tooltip {
    position: absolute;
    bottom: 70px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 10px;
    font-size: 0.75em;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.floating-button:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

.cursor-hint {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
}

.cursor-hint.visible {
  opacity: 0.6;
}

.cursor-hint .hint-text {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cursor-hint svg {
  color: white;
  transition: transform 0.3s ease;
}

.cursor-hint.hold svg {
  transform: scale(1.2);
  color: white;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}
.form-overlay.active {
  display: flex;
}
.form-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  font-family: var(--font-base);
}

.footer {
  color: #666;
  padding: 2rem;
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer a {
  color: #444;
  text-decoration: none;
   padding: 8px 10px;
  display: inline-block;
  line-height: 1.4;
}

.footer a:hover {
  text-decoration: underline;
}

