/*
Theme Name:   Oshine Child — Giorgio Ducci
Theme URI:    https://giorgioducci.com
Description:  Child theme for Oshine v1 — Giorgio Ducci Conseil
Author:       Giorgio Ducci
Template:     oshine
Version:      1.0.0
*/

/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
  --gd-black:       #0e0e0e;
  --gd-dark:        #1a1a1a;
  --gd-mid:         #444444;
  --gd-muted:       #888888;
  --gd-light:       #cccccc;
  --gd-border:      #e0e0e0;
  --gd-bg-soft:     #f7f6f4;
  --gd-white:       #ffffff;
  --gd-gold:        #c8b89a;
  --gd-gold-dark:   #a8966e;

  --gd-font-serif:  'Cormorant Garamond', Georgia, serif;
  --gd-font-sans:   'DM Sans', sans-serif;

  --gd-weight-thin:    300;
  --gd-weight-regular: 400;
  --gd-weight-medium:  500;

  --gd-radius:      2px;
  --gd-transition:  0.22s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--gd-font-sans);
  font-weight: var(--gd-weight-thin);
  font-size: 15px;
  line-height: 1.75;
  color: var(--gd-dark);
  background-color: var(--gd-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */

/* Titres — sérif Cormorant */
h1, h2, h3, h4, h5, h6,
.tatsu-text h1,
.tatsu-text h2,
.tatsu-text h3 {
  font-family: var(--gd-font-serif);
  font-weight: var(--gd-weight-thin);
  line-height: 1.15;
  color: var(--gd-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; }

/* Corps de texte */
p {
  font-family: var(--gd-font-sans);
  font-weight: var(--gd-weight-thin);
  font-size: 14px;
  line-height: 1.8;
  color: var(--gd-muted);
}

/* Italique décoratif — Cormorant italic */
em, .gd-italic {
  font-family: var(--gd-font-serif);
  font-style: italic;
  font-weight: var(--gd-weight-thin);
}

/* Labels & eyebrows */
.gd-label {
  font-family: var(--gd-font-sans);
  font-size: 11px;
  font-weight: var(--gd-weight-regular);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gd-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gd-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gd-light);
}

/* ============================================================
   LIENS & BOUTONS
   ============================================================ */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--gd-transition);
}

a:hover { color: var(--gd-gold); }

/* Bouton principal — fond noir */
.gd-btn,
.tatsu-button.gd-btn-primary {
  display: inline-block;
  font-family: var(--gd-font-sans);
  font-size: 11px;
  font-weight: var(--gd-weight-regular);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gd-dark);
  color: var(--gd-white) !important;
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  transition: background var(--gd-transition);
  cursor: pointer;
}

.gd-btn:hover,
.tatsu-button.gd-btn-primary:hover {
  background: var(--gd-gold);
  color: var(--gd-white) !important;
}

/* Bouton outline — fond blanc */
.gd-btn-outline {
  display: inline-block;
  font-family: var(--gd-font-sans);
  font-size: 11px;
  font-weight: var(--gd-weight-regular);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gd-dark) !important;
  padding: 12px 26px;
  border: 1px solid var(--gd-dark);
  border-radius: 0;
  transition: background var(--gd-transition), color var(--gd-transition);
}

.gd-btn-outline:hover {
  background: var(--gd-dark);
  color: var(--gd-white) !important;
}

/* CTA flèche inline */
.gd-cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gd-font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gd-dark);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color var(--gd-transition), gap var(--gd-transition);
}

.gd-cta-arrow:hover { gap: 14px; color: var(--gd-gold); }

/* ============================================================
   NAVIGATION (Header Oshine)
   ============================================================ */
#header,
.site-header {
  background: var(--gd-white) !important;
  border-bottom: 1px solid var(--gd-border);
  box-shadow: none !important;
}

/* Logo texte */
#logo a,
.site-logo a {
  font-family: var(--gd-font-serif);
  font-size: 18px;
  font-weight: var(--gd-weight-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-dark) !important;
}

/* Liens nav */
#nav ul li a,
.main-nav ul li a {
  font-family: var(--gd-font-sans);
  font-size: 11px;
  font-weight: var(--gd-weight-regular);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gd-muted) !important;
  transition: color var(--gd-transition);
}

#nav ul li a:hover,
.main-nav ul li a:hover,
#nav ul li.current-menu-item > a {
  color: var(--gd-dark) !important;
}

/* ============================================================
   HERO SECTION (fond sombre)
   ============================================================ */
.gd-hero {
  background-color: var(--gd-black);
  color: var(--gd-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Grille décorative subtile en overlay */
.gd-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 29px,
    rgba(255,255,255,0.025) 29px,
    rgba(255,255,255,0.025) 30px
  );
  pointer-events: none;
}

.gd-hero h1 {
  color: var(--gd-white);
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.05;
}

.gd-hero h1 em {
  color: var(--gd-gold);
}

.gd-hero .gd-hero-subtitle {
  font-family: var(--gd-font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: var(--gd-weight-thin);
  color: var(--gd-muted);
  margin-top: 8px;
  margin-bottom: 24px;
}

.gd-hero p {
  color: #aaaaaa;
  font-size: 14px;
  line-height: 1.8;
  max-width: 500px;
}

/* Stats hero */
.gd-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #2a2a2a;
}

.gd-stat-num {
  font-family: var(--gd-font-serif);
  font-size: 40px;
  font-weight: var(--gd-weight-thin);
  color: var(--gd-white);
  line-height: 1;
  margin-bottom: 4px;
}

.gd-stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
}

/* ============================================================
   SECTION — SERVICES
   ============================================================ */
.gd-services {
  padding: 80px 0;
  background: var(--gd-white);
}

.gd-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--gd-border);
}

.gd-service-card {
  padding: 36px 32px;
  border-right: 1px solid var(--gd-border);
  border-bottom: 1px solid var(--gd-border);
  transition: background var(--gd-transition);
}

.gd-service-card:nth-child(2n)   { border-right: none; }
.gd-service-card:nth-child(3),
.gd-service-card:nth-child(4)    { border-bottom: none; }
.gd-service-card:hover           { background: var(--gd-bg-soft); }

.gd-service-num {
  font-family: var(--gd-font-serif);
  font-size: 44px;
  font-weight: var(--gd-weight-thin);
  color: #ebebeb;
  line-height: 1;
  margin-bottom: 14px;
}

.gd-service-title {
  font-family: var(--gd-font-serif);
  font-size: 20px;
  font-weight: var(--gd-weight-regular);
  color: var(--gd-dark);
  margin-bottom: 10px;
}

.gd-service-desc {
  font-size: 13px;
  color: var(--gd-muted);
  line-height: 1.7;
}

/* ============================================================
   SECTION — APPROCHE (fond clair)
   ============================================================ */
.gd-approach {
  padding: 80px 0;
  background: var(--gd-bg-soft);
}

.gd-approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 60px;
  align-items: start;
}

.gd-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gd-border);
  align-items: flex-start;
}

.gd-step:first-child { border-top: 1px solid var(--gd-border); }

.gd-step-n {
  font-family: var(--gd-font-serif);
  font-size: 13px;
  color: var(--gd-light);
  min-width: 22px;
  padding-top: 2px;
}

.gd-step-title {
  font-family: var(--gd-font-sans);
  font-size: 14px;
  font-weight: var(--gd-weight-medium);
  color: var(--gd-dark);
  margin-bottom: 4px;
}

.gd-step-desc {
  font-size: 13px;
  color: var(--gd-muted);
  line-height: 1.6;
}

/* ============================================================
   SECTION — À PROPOS
   ============================================================ */
.gd-about {
  padding: 80px 0;
  background: var(--gd-white);
}

.gd-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.gd-about-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  filter: grayscale(20%);
}

.gd-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gd-about-photo:hover img { transform: scale(1.03); }

/* ============================================================
   SECTION — BANDE CTA
   ============================================================ */
.gd-cta-band {
  background: var(--gd-dark);
  padding: 64px 0;
}

.gd-cta-band h2 {
  color: var(--gd-white);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 8px;
}

.gd-cta-band p {
  color: var(--gd-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.gd-cta-band .gd-btn {
  background: var(--gd-white);
  color: var(--gd-dark) !important;
}

.gd-cta-band .gd-btn:hover {
  background: var(--gd-gold);
  color: var(--gd-white) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer,
.site-footer {
  background: var(--gd-black) !important;
  color: var(--gd-muted);
  border-top: none !important;
  padding: 48px 0 32px;
}

#footer a,
.site-footer a {
  color: var(--gd-muted);
  transition: color var(--gd-transition);
}

#footer a:hover,
.site-footer a:hover { color: var(--gd-gold); }

.gd-footer-logo {
  font-family: var(--gd-font-serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-white);
}

.gd-footer-copy {
  font-size: 11px;
  color: #444;
  letter-spacing: 0.06em;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #1e1e1e;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */

/* Séparateur horizontal */
.gd-divider {
  width: 40px;
  height: 1px;
  background: var(--gd-gold);
  margin: 20px 0;
}

/* Container centré */
.gd-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Fond alternatif */
.gd-bg-dark   { background-color: var(--gd-dark); }
.gd-bg-black  { background-color: var(--gd-black); }
.gd-bg-soft   { background-color: var(--gd-bg-soft); }

/* Couleurs de texte */
.gd-text-white  { color: var(--gd-white) !important; }
.gd-text-gold   { color: var(--gd-gold) !important; }
.gd-text-muted  { color: var(--gd-muted) !important; }

/* Animation d'entrée */
.gd-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.gd-fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .gd-services-grid,
  .gd-approach-grid,
  .gd-about-grid {
    grid-template-columns: 1fr;
  }

  .gd-service-card:nth-child(2n) { border-right: 1px solid var(--gd-border); }
  .gd-service-card { border-right: none; }
  .gd-service-card:last-child { border-bottom: none; }

  .gd-hero-stats { gap: 28px; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .gd-hero { padding: 72px 0 60px; }
  .gd-services, .gd-approach, .gd-about { padding: 56px 0; }
  .gd-cta-band { padding: 48px 0; }
  .gd-container { padding: 0 20px; }
}
