/* ============================================
   TAKUYA STUDIO — CSS v5
   Séparateurs : mix A (espace) + B (ligne légère) + C (fond alterné)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&display=swap');

:root {
  --noir:    #2C260F;
  --blanc:   #ffffff;
  --gris:    #f4f4f1;
  --muted:   #999990;
  --sep:     1px solid rgba(44,38,15,0.13);
  --max:     860px;
  --pad:     48px;
}

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

body {
  background: var(--blanc);
  color: var(--noir);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--noir); text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.6; }

/* ——— CONTENEUR CENTRAL ——— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ——— HEADER — seule bordure franche du site ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--noir);
}

.site-header .wrap {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-group:hover { opacity: 0.75; }
.logo-group img { height: 36px; width: auto; }

.logo-name {
  font-family: 'Arial Narrow', 'Oswald', Impact, system-ui, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--noir);
  line-height: 1;
}

.site-nav { display: flex; gap: 32px; list-style: none; }

.site-nav a {
  font-family: 'Arial Narrow', 'Oswald', Impact, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
  transition: opacity 0.15s;
}

.site-nav a:hover { opacity: 0.6; }

/* ——— HERO ——— */
.hero {
  padding: 56px 0 48px;
  background: var(--noir);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  color: #ffffff;
}

.hero-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ——— TEXTE PRINCIPAL — B : ligne légère en haut ——— */
.main-text {
  border-top: var(--sep);
  padding: 56px 0;
  background: var(--blanc);
}

.main-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.main-text p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
  color: var(--noir);
}

.main-text p:last-child { margin-bottom: 0; }

/* Grilles texte + image */
.text-image {
  display: grid;
  grid-template-columns: 1fr 36%;
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  margin-bottom: 52px;
}

.text-image:last-child { margin-bottom: 0; }

/* h2 : rangée 1, colonne 1 uniquement */
.text-image > h2 {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
  margin-bottom: 18px;
}

/* Bloc paragraphes : rangée 2, colonne 1 — reste uni */
.text-image__text {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.text-image__text p { margin-top: 0; margin-bottom: 14px; }
.text-image__text p:last-child { margin-bottom: 0; }

/* Image : rangée 2, colonne 2 — s'aligne avec le haut des paragraphes */
.text-image__img {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.text-image__img img { width: 100%; height: auto; }

.text-image__img figcaption {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.07em;
  margin-top: 8px;
  text-align: right;
}

/* ——— LABEL DE SECTION ——— */
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 32px;
  padding-bottom: 4px;
}

/* ——— SERVICES — C : fond alterné + B : ligne légère ——— */
.services {
  background: var(--gris);
  border-top: var(--sep);
  padding-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  background: rgba(44,38,15,0.12);
  gap: 1px;
}

.services-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ——— GRILLE TARIFAIRE (pochette-album) ——— */
.tarif-section {
  padding: 64px 0;
  border-top: var(--sep);
}

.tarif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--sep);
  border: var(--sep);
  margin-top: 28px;
}

.tarif-card {
  background: var(--blanc);
  padding: 40px 36px;
}

.tarif-card--secondary {
  background: var(--gris);
}

.tarif-card__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: var(--sep);
}

.tarif-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.tarif-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--noir);
  margin: 0;
  flex: 1;
}

.tarif-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--noir);
  flex-shrink: 0;
}

.tarif-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--noir);
  margin: 0 0 24px;
}

.tarif-desc a {
  color: var(--noir);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tarif-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.tarif-cta:hover { opacity: 1; }

/* ——— ARTICLE (pochette-disque) ——— */
.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-body p {
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.75;
}

.article-body a {
  color: var(--noir);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-img {
  margin: 36px 0;
}

.article-img img {
  width: 100%;
  height: auto;
}

.article-cta {
  margin-top: 52px;
  padding-top: 28px;
  border-top: var(--sep);
  font-size: 14px;
}

.article-cta a {
  color: var(--noir);
  font-weight: 700;
}

/* Bloc auteur — signature en pied d'article éditorial */
.author-block {
  margin: 56px 0 40px;
  padding: 0;
  background: #f7f2e8;
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #e6dcc6;
  overflow: hidden;
}
.author-block .author-photo {
  flex: 0 0 260px;
  align-self: stretch;
  overflow: hidden;
  background: #eee;
}
.author-block .author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-block .author-meta {
  flex: 1 1 auto;
  min-width: 0;
  padding: 32px 36px;
  align-self: center;
}
.author-block .author-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  color: #6b6254;
}
.author-block .author-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px 0;
  flex-wrap: wrap;
}
.author-block .author-name {
  font-weight: 700;
  font-stretch: condensed;
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
  color: var(--noir);
}
.author-block .author-socials {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.author-block .author-social {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #6b6254;
}
.author-block .author-social svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}
.author-block .author-bio {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #2b2b2b;
}
@media (max-width: 640px) {
  .author-block {
    flex-direction: column;
  }
  .author-block .author-photo {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 320px;
  }
  .author-block .author-meta {
    padding: 24px 22px 28px;
    align-self: stretch;
    text-align: center;
  }
  .author-block .author-name-row {
    justify-content: center;
  }
}

/* Liste numérotée — processus */
.process-list {
  margin: 0;
  padding-left: 1.4em;
}
.process-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}
.process-list li:last-child { margin-bottom: 0; }

.service-card {
  background: var(--gris);
  padding: 40px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--noir);
  text-decoration: none;
  transition: background 0.15s;
}

.service-card:hover { background: #eeeee9; }

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.03em;
  line-height: 1;
}

.service-desc {
  font-size: 14px;
  color: var(--noir);
  line-height: 1.65;
  flex-grow: 1;
}

.service-price {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-height: 1em;
}

.service-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
}

/* ——— PORTFOLIO — A : espacement + B : ligne légère ——— */
.portfolio {
  background: var(--blanc);
  border-top: var(--sep);
  padding-bottom: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: var(--sep);
  margin-top: 24px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  background: rgba(44,38,15,0.08);
  gap: 1px;
}

.portfolio-grid figure { overflow: hidden; background: var(--blanc); }

.portfolio-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.portfolio-grid img:hover { opacity: 0.85; }

.portfolio-footer {
  padding: 14px var(--pad);
  border-top: var(--sep);
}

.portfolio-footer a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.portfolio-footer a:hover { color: var(--noir); opacity: 1; }

/* ——— CONTACT — C : fond alterné + B : ligne légère ——— */
.contact {
  background: var(--gris);
  border-top: var(--sep);
  padding: 56px 0;
}

.contact h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 10px;
  margin-bottom: 28px;
}

.contact-form { max-width: 480px; }

.contact-form label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 22px;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(44,38,15,0.3);
  background: var(--blanc);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  color: var(--noir);
  outline: none;
  resize: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--noir); }

.contact-form textarea { min-height: 110px; }

.btn {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 32px;
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}

.btn:hover { opacity: 0.72; }

.btn--outline {
  background: transparent;
  color: var(--noir);
  border: 1px solid rgba(44,38,15,0.35);
  margin-top: 0;
}

.btn--outline:hover { opacity: 0.6; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.form-actions .btn { margin-top: 0; }

/* ——— FOOTER — A : espacement seul ——— */
.site-footer {
  background: var(--blanc);
  border-top: var(--sep);
  padding: 18px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--noir); opacity: 1; }

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  /* Fix typographie tablet/iPad — nav */
  .logo-name { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 200; letter-spacing: .15em; }
  .site-nav a { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
}

@media (max-width: 680px) {
  :root { --pad: 20px; --max: 100%; }
  .site-header .wrap { flex-wrap: wrap; gap: 12px; }
  .site-nav { gap: 16px; }
  .hero h1 { font-size: 36px; }
  .text-image { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 16px; }
  .text-image > h2 { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .text-image__img { grid-column: 1; grid-row: 2; }
  .text-image__text { grid-column: 1; grid-row: 3; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
