/* ==========================================================
   ASK Conception – Atelier Sardet Kirschner
   Reproduction HTML/CSS de la page Canva askconception.fr
   Polices libres auto-hébergées (pas d'appel à Google = RGPD OK)
     Inter         -> texte courant (identique à l'original)
     Source Sans 3 -> remplace Myriad Pro (Adobe, licence Canva)
     Lexend        -> remplace Garet (Spacetype, licence Canva)
     Archivo       -> remplace Harabara
   ========================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/sourcesans3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --green: #aabd14;
  --black: #000;
  --max: 1425px;
  --f-body: "Inter", Arial, sans-serif;
  --f-myriad: "Source Sans 3", "Myriad Pro", Arial, sans-serif;
  --f-garet: "Lexend", Arial, sans-serif;
  --f-wide: "Archivo", "Arial Black", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: #fff; color: var(--black); font-family: var(--f-body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul, figure { margin: 0; }
a { color: inherit; text-decoration: none; }

section { max-width: var(--max); margin: 0 auto; }

/* ---------- 1. Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 628fr 768fr;
  padding-right: 29px;
  min-height: 768px;
}
.intro__text { padding: 26px 16px 30px 72px; display: flex; flex-direction: column; }
.logo {
  width: 96px; aspect-ratio: 96 / 54; object-fit: cover; object-position: top;
  margin-left: 10px;
}
.atelier { font-family: var(--f-garet); font-size: 22.7px; line-height: 31px; margin-top: 14px; }
h1 {
  font-family: var(--f-myriad); font-weight: 400;
  font-size: 58px; line-height: 66px; letter-spacing: -2.6px; white-space: nowrap;
  margin: 42px 0 22px;
}
.intro__body {
  font-size: 20.5px; line-height: 33px; letter-spacing: .3px;
  max-width: 498px;
}
.notice {
  margin-top: auto; padding-top: 40px;
  font-size: 20px; line-height: 28px; color: var(--green);
  margin-left: -26px;
}
.intro__visual img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 45% 50%;
}

/* ---------- 2. Équipe ---------- */
.team {
  display: flex; justify-content: space-between;
  padding: 70px 8% 60px;
}
.member { width: min(440px, 48%); text-align: center; display: flex; flex-direction: column; align-items: center; }
.member__brand {
  font-family: var(--f-wide); font-weight: 800;
  font-size: 34px; line-height: 40px; letter-spacing: 3.6px; white-space: nowrap;
}
.member__tagline { font-family: var(--f-myriad); font-size: 19px; line-height: 21px; min-height: 42px; }
.card {
  background: var(--green);
  width: 305px; padding: 18px 18px 0;
  margin-top: 6px;
}
.card__photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card__photo--estelle { object-position: 50% 48%; }
.card__name {
  color: #fff; font-family: var(--f-myriad);
  font-size: 32px; line-height: 46px; letter-spacing: -1.2px;
  padding: 0 0 2px;
}
.card__name--alt { font-family: var(--f-garet); font-size: 28px; letter-spacing: -.6px; }
.member__role {
  font-family: var(--f-myriad); font-size: 21px; line-height: 23px; letter-spacing: -.8px;
  margin-top: 12px; min-height: 46px;
}
.more { display: inline-flex; flex-direction: column; align-items: center; margin-top: 28px; color: var(--green); }
.more img { width: 60px; }
.more span { font-size: 21px; line-height: 23px; letter-spacing: -.6px; margin-top: 8px; }
.more:hover span, .more:focus-visible span { text-decoration: underline; }

/* ---------- 3. Prestations ---------- */
.services {
  display: grid; grid-template-columns: minmax(0,512fr) minmax(0,506fr); column-gap: 18.5%;
  padding: 60px 81px 80px 61px;
}
.service__title {
  font-family: var(--f-myriad); font-weight: 900;
  font-size: 29px; line-height: 35px; letter-spacing: 3.2px;
  white-space: nowrap; margin-left: 7px;
}
.service__list {
  font-family: var(--f-myriad); font-weight: 300;
  font-size: 22.7px; line-height: 29px;
  padding-left: 50px; margin: 12px 0 18px;
}
.gallery img { width: 100%; object-fit: cover; }

.gallery--conception {
  display: grid;
  grid-template-columns: 248fr 10fr 72fr 181fr;
  grid-template-rows: auto auto;
  row-gap: 16px;
}
.g-hotel   { grid-column: 1 / 2; aspect-ratio: 16 / 9; margin-left: 8px; width: calc(100% - 8px) !important; }
.g-bardage { grid-column: 3 / 5; aspect-ratio: 16 / 9; }
.g-plans   { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 4px; padding-right: 12px; }
.g-facade  { aspect-ratio: 282 / 139; object-position: 78% 50%; width: 88% !important; }
.g-coupes  { aspect-ratio: 384 / 246; }
.g-sdb     { grid-column: 4 / 5; height: 100%; object-position: 45% 50%; }

.gallery--visu { display: flex; flex-direction: column; gap: 24px; }
.g-interieur { aspect-ratio: 506 / 264; object-position: 50% 33%; }
.g-ecole     { aspect-ratio: 506 / 234; object-position: 50% 59%; }

/* ---------- 4. Contact ---------- */
.contact {
  display: grid; grid-template-columns: 614fr 655fr; column-gap: 50px;
  padding: 60px 106px 40px;
  align-items: start;
}
.contact__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.social { display: flex; justify-content: center; gap: 13px; margin-top: 8px; margin-right: 22px; }
.social a {
  width: 56px; height: 56px; border-radius: 10px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  transition: transform .15s ease;
}
.social a:hover, .social a:focus-visible { transform: translateY(-2px); }
.social svg { width: 34px; height: 34px; fill: currentColor; }
.social svg[fill="none"] { fill: none; }

.contact__text { padding-top: 70px; }
.contact__title { font-family: var(--f-garet); font-weight: 400; font-size: 72px; line-height: 80px; }
.contact__person { margin-top: 90px; font-size: 22.7px; line-height: 31px; }
.contact__person + .contact__person { margin-top: 32px; }
.contact__label {
  font-family: var(--f-garet); font-weight: 700; text-transform: uppercase;
  font-size: 21.3px; line-height: 29px; letter-spacing: 6px; color: var(--green);
  margin-bottom: 4px;
}
.contact__person a:hover, .contact__person a:focus-visible { color: var(--green); }

/* ==========================================================
   Responsive
   ========================================================== */

/* Petits écrans desktop / tablettes paysage */
@media (max-width: 1280px) {
  .intro__text { padding-left: 5vw; }
  h1 { font-size: 52px; line-height: 58px; }
  .intro__body { font-size: 18px; line-height: 29px; }
  .team { padding-left: 4%; padding-right: 4%; }
  .services { column-gap: 8vw; padding-left: 4vw; padding-right: 4vw; }
  .service__title { white-space: normal; font-size: 24px; letter-spacing: 2.4px; }
  .service__list { font-size: 20px; line-height: 26px; }
  .contact { padding-left: 6vw; padding-right: 6vw; }
  .contact__title { font-size: 60px; line-height: 68px; }
  .contact__person { font-size: 20px; }
  .contact__label { font-size: 18px; letter-spacing: 4px; }
}

/* Tablettes portrait et mobiles : tout passe en une colonne */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; padding: 0 18px; min-height: 0; }
  .intro__text { padding: 18px 0 28px; }
  .logo { width: 150px; margin-left: 24px; }
  .atelier { margin-top: 10px; padding-left: 12px; font-size: 20px; }
  h1 { white-space: normal; text-align: center; font-size: 50px; line-height: 52px; margin: 26px 0 20px; }
  .intro__body { max-width: none; font-size: 18px; line-height: 31px; }
  .notice { margin: 0; padding-top: 30px; font-size: 18px; line-height: 26px; }

  .team { flex-direction: column; align-items: center; gap: 60px; padding: 60px 18px 40px; }
  .member { width: 100%; max-width: 440px; }
  .member__brand { white-space: normal; font-size: 28px; line-height: 34px; letter-spacing: 2px; }
  .member__tagline { font-size: 17px; line-height: 20px; min-height: 0; }
  .card { width: min(305px, 80vw); margin-top: 12px; }
  .member__role { min-height: 0; font-size: 19px; }
  .more { margin-top: 20px; }

  .services { grid-template-columns: 1fr; row-gap: 60px; padding: 40px 18px 60px; }
  .service__title { white-space: normal; font-size: 26px; line-height: 32px; margin-left: 0; }
  .service__list { font-size: 19px; line-height: 26px; padding-left: 40px; }
  .service:first-child .service__title { text-align: center; }

  .gallery--conception { grid-template-columns: 1fr 0.55fr; row-gap: 20px; }
  .g-hotel, .g-bardage { grid-column: 1 / -1; width: 85% !important; margin: 0 auto; }
  .g-plans { grid-column: 1 / 2; padding-right: 6px; }
  .g-facade { width: 100% !important; }
  .g-sdb { grid-column: 2 / 3; }

  .contact { grid-template-columns: 1fr; padding: 20px 18px 40px; }
  .contact__text { order: -1; padding-top: 0; margin-bottom: 36px; }
  .contact__title { font-size: 52px; line-height: 58px; }
  .contact__person { margin-top: 36px; font-size: 19px; line-height: 28px; }
  .contact__label { font-size: 16px; letter-spacing: 3.5px; }
  .contact__person a { overflow-wrap: anywhere; }
  .social { margin-right: 0; margin-top: 14px; }
}

@media (max-width: 380px) {
  h1 { font-size: 42px; line-height: 46px; }
  .member__brand { font-size: 23px; letter-spacing: 1.2px; }
  .service__title { font-size: 22px; letter-spacing: 2px; }
  .contact__title { font-size: 44px; line-height: 50px; }
  .contact__label { font-size: 14px; letter-spacing: 2.5px; }
}
