/* ══════════════════════════════════════════════════════════════
  Page contact / Studio Quarante Sept
   Polices, nav et footer repris de PF_Home/styles.css
══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=Roboto:wght@300;400;700&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');



/* ── COL-CONNECT (colonne Réseaux footer) ── */
.col-connect .col-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
}

/* Email qui déborde */
.col-contact a {
  word-break: break-all;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {

  .big-title {
    font-size: clamp(80px, 12vw, 160px);
  }

  .contact-header img {
    height: 140px;
    width: 140px;
  }

  form {
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 5.5% 48px;
  }

  .footer-top > div:nth-child(2) {
    display: none;
  }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  body {
    cursor: auto;
  }

  #cursor {
    display: none;
  }

  nav {
    padding: 20px 5.5%;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .nav-links a {
    font-size: 9px;
    padding: 7px 12px;
    letter-spacing: 0.1em;
  }

  /* ── HEADER ── */
  .contact-header {
    padding: 110px 5.5% 0;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 0;
  }

  .big-title {
    font-size: clamp(52px, 14vw, 100px);
    padding-bottom: 20px;
    flex-shrink: 1;
  }

  .contact-header img {
    height: 40px;
    width: 40px;
    margin-left: 0.06em;
    margin-bottom: 0.28em;
    flex-shrink: 0;
  }

  form {
    max-width: 100%;
  }

  /* ── FORMULAIRE ── */
  .contact-body {
    padding: 0 5.5%;
  }

  .col-info {
    display: none;
  }

  .col-form {
    padding: 48px 0;
  }

  form {
    max-width: 100%;
    gap: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* ── FOOTER ── */
  footer {
    padding-top: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 0 5.5% 48px;
    gap: 40px;
  }

  .footer-top > div:nth-child(2) {
    display: none;
  }

  .col-text p {
    font-size: 18px;
    max-width: 100%;
  }

  .col-nav a {
    font-size: 24px;
  }

  .footer-mid {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 5.5%;
  }

  .footer-name img {
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .footer-name {
    padding: 0;
    overflow: hidden;
  }

  .footer-name img {
    padding-left: 12px;
    padding-right: 12px;
  }
}



/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ── Tokens de design (Figma) ── */
:root {
  --white:  #f8fafc;
  --black:  #121528;
  --blue:   #3b63fb;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

img {
  display: block;
}

/* NAV */

nav {
  position: fixed;
  mix-blend-mode: difference;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 5.5%;
  z-index: 100;
  pointer-events: auto;
}

body {
  cursor: none;
}

/* ── CURSEUR ── */
#cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 120px;
  width: auto;
}

.logo-fallback {
  font-family: 'Britanica-Black', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  display: none;
}

nav {
  position: fixed;
  mix-blend-mode: difference;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 5.5%;
  z-index: 100;
  pointer-events: auto;
}

nav > * {
  pointer-events: auto;
}

.logo {
  display: flex;
  align-items: center;
  height: 120px;
  width: 120px;
}

.logo-fallback {
  font-family: 'Britanica-Black', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  display: none;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 9px 20px;
  border-radius: 4px;
  display: block;
  transition: background .2s, color .2s, border-color .2s;
}

.nav-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ── TITRE GÉANT ── */
.contact-header {
  padding: 160px 5.5% 0;
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.contact-header img {
  height: 160px;
  width: 160px;
  margin-left: 8px;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.big-title{
  font-family:'Britanica-Black',serif;
  font-size:clamp(52px, 18vw, 200px);
  font-weight:900;
  color:var(--black);
  padding-bottom:40px;
  opacity:0;
  display:block;
  width: fit-content;
  animation:titlein 1s cubic-bezier(0.16,1,0.3,1) 0.3s forwards}

@keyframes titlein{
  from{opacity:0;transform:translateY(40px)}
  to{opacity:1;transform:translateY(0)}}

/* ── SPLIT ── */
  .contact-body {
  display: block;
  padding: 0 5.5%;
  position: relative;
}

/* Colonne gauche — infos */
.col-info{
  padding: 64px 48px 64px 0;
  border-right:1px solid var(--black);
  display:flex;
  flex-direction:column;
  gap:48px}

.info-label{
  font-size:9px;
  font-weight:500;
  letter-spacing:0.25em;
  text-transform:uppercase;
  color:#999;
  margin-bottom:10px}

.info-val{
  font-size:13px;
  font-weight:300;
  color: var(--black);
  line-height:1.8}

.avail-dot{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:auto}

@keyframes pulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.5);opacity:0.5}}

.avail-text{
  font-size:11px;
  font-weight:400;
  color:#999}

/* Colonne droite — formulaire */
.col-form{
  padding: 64px 0 64px 64px;
  position:relative}

form{
  display:flex;
  flex-direction:column;
  gap:40px;
  max-width: 77%;
  transition:opacity 0.4s ease,transform 0.4s ease}

form.sent{
  opacity:0;
  transform:translateY(-16px);
  pointer-events:none}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px}

.field{
  display:flex;
  flex-direction:column;
  gap:10px;
  color: var(--blue);
}
  
.rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 300;
  color: #999;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}

.rgpd-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
  -webkit-appearance: checkbox; /* ← force l'apparence native */
  appearance: checkbox;
  border: 1px solid rgba(0,0,0,0.15);
}

.rgpd-label a {
  color: var(--blue);
  text-decoration: underline;
}

label{
  font-size:9px;
  font-weight:500;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:#aaa}

.req{
color: var(--red);
font-size: 16px;}

input,textarea,select{
  font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size:14px;
  font-weight:300;
  color: var(--black);
  background:transparent;
  border:none;
  border-bottom:1px solid rgba(0,0,0,0.15);
  padding:10px 0;
  outline:none;
  width:100%;
  transition:border-color .25s;
  resize:none;
  -webkit-appearance:none;
  appearance:none}

input::placeholder,
textarea::placeholder{color: var(--black)}

input:focus,
textarea:focus,
select:focus{border-color: var(--black)}

.select-wrap{
  position:relative}

.select-wrap select{
  cursor:pointer;
  color:var(--black)}

.select-wrap select option:first-child{
  color:var(--black)}

.select-arrow{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:var(--white);
  pointer-events:none}

.btn-submit{
  align-self:flex-start;
  background:var(--black);
  color:var(--white);
  font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size:10px;
  font-weight:500;
  letter-spacing:0.2em;
  text-transform:uppercase;
  border:none;
  border-radius:6px;
  padding:16px 40px;
  cursor:pointer;
  transition:background .25s,transform .25s}

.btn-submit:hover{
  background: var(--blue);
  transform:translateX(4px)}

/* Succès */
.form-success{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:64px 5.5% 64px 64px;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.6s ease 0.35s}

.form-success.visible{
  opacity:1;
  pointer-events:auto}

.success-title{
  font-family:'Britanica-Black',serif;
  font-size:clamp(36px,4vw,56px);
  font-weight:900;
  color:var(--black);
  letter-spacing:-0.03em;
  margin-bottom:16px}

.success-sub{
  font-size:14px;
  font-weight:300;
  color:var(--white);
  line-height:1.7}

/* FOOTER */

footer {
  width: 100%;
  background: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 0.2fr 1fr 1fr 1fr;
  padding: 0 5.5% 72px;
}

.col-text p {
  display: block;
  font-family: 'Britanica-Black', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 320px;
}

.col-text p em {
  font-family: 'Britanica-Black', serif;
  font-style: italic;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-label-f {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

.cta-arrow {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  transition: background .2s, transform .2s;
}

.cta-arrow:hover {
  background:var(--blue);
  transform: translateX(3px);
}

.col-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
}

.col-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.col-nav a {
  font-family: 'Britanica-Black', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: inline-block;
  transition: color .2s, border-color .2s;
}

.col-nav a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.col-contact a {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
  margin-bottom: 16px;
  transition: color .2s;
}

.col-contact a:hover {
  color: var(--blue);
}

.col-contact address {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #999;
  font-style: normal;
  line-height: 1.7;
}

.social-icons {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  align-items: center;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  transition: border-color .2s, background .2s, transform .2s cubic-bezier(0.16,1,0.3,1);
}

.social-icon:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: scale(1.18);
}

.dot-live {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-left: auto;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

.footer-mid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 5.5%;
  gap: 40px;
}

.footer-mid span {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

.footer-mid a {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

.footer-name {
  width: 100%;
  overflow: hidden;
  padding: 20 20;
}

.footer-name img {
  width: 100%;
  height: auto;
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-top: 60px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {

  .s-intro {
    gap: 60px;
    padding: 80px 40px;
  }

  .intro-heading {
    flex: 0 0 360px;
  }

  .intro-h-italic {
    font-size: 52px;
  }

  .intro-h-heavy {
    font-size: 60px;
  }

  .s-dev {
    gap: 48px;
    padding: 80px 40px;
  }

  .dev-img {
    flex: 0 0 480px;
  }

  .s-palette {
    gap: 48px;
    padding: 80px 40px;
  }

  .palette-text {
    flex: 0 0 340px;
  }

  .duo {
    height: 420px;
  }

  .duo-logo {
    width: 380px;
  }

  .s-instagram {
    padding: 80px 60px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 5.5% 48px;
  }

  .footer-top > div:nth-child(2) {
    display: none;
  }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  body {
    cursor: auto;
  }

  #cursor {
    display: none;
  }

  nav {
    padding: 20px 5.5%;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .nav-links a {
    font-size: 9px;
    padding: 7px 12px;
    letter-spacing: 0.1em;
  }

  /* ── HERO ── */
  .hero-meta {
    padding: 100px 24px 0;
  }

  .marquee-wrap {
    padding-top: 40px;
  }

  .marquee-track img {
    height: 80px;
  }

  .marquee-sep {
    font-size: 120px;
    padding: 0 40px;
  }

  .hero-text {
    padding: 32px 24px 24px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-cover-wrap {
    height: 280px;
  }

  /* ── INTRO ── */
  .s-intro {
    flex-direction: column;
    gap: 40px;
    padding: 64px 24px;
  }

  .intro-heading {
    flex: unset;
    width: 100%;
  }

  .intro-h-italic {
    font-size: 40px;
  }

  .intro-h-heavy {
    font-size: 48px;
  }

  .intro-body {
    font-size: 17px;
  }

  /* ── FULLWIDTH ── */
  .s-fullwidth {
    height: 340px;
  }

  /* ── INSTAGRAM ── */
  .s-instagram {
    padding: 48px 24px;
  }

  /* ── DUO ── */
  .duo {
    flex-direction: column;
    height: auto;
  }

  .duo-left {
    height: 280px;
  }

  .duo > img {
    height: 280px;
    width: 100%;
  }

  .duo-logo {
    width: 220px;
  }

  /* ── PICTOS ── */
  .s-app {
    padding-top: 48px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .app-slot {
    flex: 0 0 48%;
  }

  .app-slot img {
    height: 80px;
  }

  /* ── DEV ── */
  .s-dev {
    flex-direction: column;
    padding: 64px 24px;
    gap: 40px;
  }

  .dev-img {
    flex: unset;
    width: 100%;
    height: 320px;
  }

  .dev-text {
    position: static;
  }

  .dev-heading {
    font-size: 32px;
  }

  .dev-body {
    font-size: 16px;
    max-width: 100%;
  }

  /* ── PALETTE ── */
  .palette-hero {
    padding: 40px 24px 0;
  }

  .s-palette {
    flex-direction: column;
    padding: 64px 24px;
    gap: 40px;
  }

  .palette-text {
    flex: unset;
    position: static;
    width: 100%;
  }

  .palette-heading {
    font-size: 32px;
  }

  .palette-body {
    font-size: 16px;
  }

  .palette-screens {
    gap: 24px;
  }

  .palette-screen {
    height: 280px;
  }

  /* ── GALERIE ── */
  .s-gallery {
    height: 200px;
  }

  /* ── FINAL ── */
  .s-final {
    height: 320px;
  }

  /* ── PROJETS ── */
  .projects-section {
    padding: 64px 5.5%;
  }

  .projects-header {
    margin-bottom: 40px;
  }

  .projects-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-card[style*="span 7"],
  .project-card[style*="span 5"] {
    grid-column: span 1 !important;
  }

  .card-title {
    font-size: 20px;
  }

  /* ── FOOTER ── */
  footer {
    padding-top: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 0 5.5% 48px;
    gap: 40px;
  }

  .footer-top > div:nth-child(2) {
    display: none;
  }

  .col-text p {
    font-size: 18px;
    max-width: 100%;
  }

  .col-nav a {
    font-size: 24px;
  }

  .footer-mid {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 5.5%;
  }

  .footer-name img {
    padding-top: 40px;
  }
}