/*
Theme Name: Gé fait ça — Géraldine LODI
Theme URI: https://gefaitca.local
Author: Géraldine LODI
Author URI: https://www.instagram.com/ge.fait.ca/
Description: Thème WordPress one page, responsive et compatible Elementor, créé pour le site vitrine personnel de Géraldine LODI ("Gé fait ça"). Palette blanche à dominante, complément rouge, ambiance créative et chaleureuse.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gefaitca
Tags: one-page, custom-colors, custom-menu, translation-ready, responsive-layout, elementor-compatible
*/

/* ==========================================================================
   0. Variables & Reset
   ========================================================================== */
:root {
  --color-white: #ffffff;
  --color-off-white: #faf8f6;
  --color-red: #e4002b;
  --color-red-dark: #b8001f;
  --color-red-tint: #fdeaec;
  --color-ink: #1b1b1f;
  --color-ink-soft: #55555c;
  --color-border: #ecebe9;

  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container-width: 1140px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tint {
  background: var(--color-off-white);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  color: var(--color-ink-soft);
  font-size: 17px;
}

/* ==========================================================================
   1. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 10px 24px -8px rgba(228, 0, 43, 0.55);
}

.btn--primary:hover {
  background: var(--color-red-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn--outline:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ==========================================================================
   2. Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-logo span {
  color: var(--color-red);
}

.main-nav ul {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-inline {
  display: flex;
  gap: 12px;
}

.social-inline a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-off-white);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-inline a:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-inline svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 64px);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--color-red);
}

.hero-text {
  font-size: 18px;
  color: var(--color-ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
  background: url("assets/images/pp-instagram.jpg") center/cover no-repeat, linear-gradient(145deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(228, 0, 43, 0.45);
}

.hero-monogram {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -4px;
}

.hero-badge {
  position: absolute;
  bottom: 12px;
  left: -12px;
  background: var(--color-white);
  border-radius: 100px;
  padding: 12px 20px;
  box-shadow: 0 16px 32px -12px rgba(27, 27, 31, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}

.hero-badge span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  display: inline-block;
}

/* ==========================================================================
   4. About
   ========================================================================== */
.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-figure {
  background: url("assets/images/pp-tiktok.jpg") center/cover no-repeat, var(--color-red);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-stats div {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  box-shadow: 0 10px 24px -14px rgba(27, 27, 31, 0.2);
}

.about-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-red);
}

.about-stats small {
  font-size: 12px;
  color: var(--color-ink-soft);
}

.about-body p {
  color: var(--color-ink-soft);
  font-size: 17px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ==========================================================================
   5. Portfolio / Univers
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(27, 27, 31, 0.2);
  border-color: transparent;
}

.portfolio-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.portfolio-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-red);
}

.portfolio-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.portfolio-card p {
  color: var(--color-ink-soft);
  font-size: 15px;
  margin-bottom: 0;
}

/* ==========================================================================
   5bis. Feed / "Gé fait ça, et toi ?"
   ========================================================================== */
.feed-block {
  margin-top: 72px;
}

.feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.feed-head h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 6px;
}

.feed-head p {
  color: var(--color-ink-soft);
  font-size: 15px;
  margin: 0;
}

.feed-links {
  display: flex;
  gap: 10px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.feed-embed {
  display: flex;
  justify-content: center;
}

.feed-embed iframe {
  width: 100% !important;
}

.feed-embed .instagram-media,
.feed-embed .tiktok-embed {
  width: 100% !important;
  max-width: 400px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.feed-embed--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-ink) 0%, #3a3a40 100%);
  color: var(--color-white);
  text-align: center;
  padding: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: transform var(--transition);
}

.feed-embed--placeholder:hover {
  transform: translateY(-4px);
}

.feed-tile-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.feed-tile-badge svg {
  width: 19px;
  height: 19px;
}

/* ==========================================================================
   6. Contact
   ========================================================================== */
.contact-panel {
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: var(--color-white);
}

.contact-panel h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--color-white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-actions .btn--primary {
  justify-content: center;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.contact-socials a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), border-color var(--transition);
}

.contact-socials a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.contact-socials svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer small {
  color: var(--color-ink-soft);
  font-size: 13px;
}

/* ==========================================================================
   8. Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero .container,
  .about .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 44px 32px;
    text-align: center;
  }

  .contact-actions {
    align-items: center;
  }

  .contact-socials {
    width: 100%;
  }

}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    right: 0;
    left: 0;
    z-index: 99;
    height: calc(100vh - 84px);
    background: var(--color-white);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    padding: 32px 24px;
    overflow-y: auto;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .main-nav a {
    display: block;
    font-size: 20px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-actions .social-inline {
    display: none;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-socials {
    flex-direction: column;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
