/*
Theme Name: Ninon et vous
Theme URI: https://ninonetvous.fr
Author: Web120
Author URI: https://web120.fr
Description: Theme sur-mesure pour Ninon et vous - site vitrine d'une professionnelle. Reproduction pixel-perfect d'un design Laravel+Vue.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ninonetvous
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design System)
   ========================================================================== */

:root {
  --color-bordeaux: #78153B;
  --color-bordeaux-light: #9A2D5A;
  --color-bordeaux-dark: #5E0F2D;
  --color-cream: #FAF9F5;
  --color-cream-dark: #F0EDE6;
  --color-dark: #141413;
  --color-gold: #C4A35A;
  --font-script: 'Playlist Script', cursive;
  --font-display: 'Josefin Sans', sans-serif;
  --font-heading: 'TAN Twinkle', 'Josefin Sans', sans-serif;
  --font-body: 'Cormorant Garamond', serif;
}

/* ==========================================================================
   CUSTOM FONT
   ========================================================================== */

@font-face {
  font-family: 'Playlist Script';
  src: url('fonts/playlist-script.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TAN Twinkle';
  src: url('fonts/tan-twinkle.otf') format('opentype'),
       url('fonts/tan-twinkle.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   BASE / RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-bordeaux);
  color: #fff;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1,
h1.font-script,
h1.font-display,
h2,
h2.font-script,
h2.font-display {
  font-family: var(--font-heading);
}

h2 {
  font-size: 2rem;
}

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bordeaux);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10000;
  border-radius: 0 0 0.5rem 0.5rem;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-lg {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

.font-script {
  font-family: var(--font-script);
}

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-7xl {
  font-size: 4.5rem;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-tight {
  line-height: 1.2;
}

.leading-snug {
  line-height: 1.375;
}

.leading-normal {
  line-height: 1.6;
}

.leading-relaxed {
  line-height: 1.75;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

.tracking-widest {
  letter-spacing: 0.2em;
}

/* ==========================================================================
   COLOR UTILITIES
   ========================================================================== */

.text-bordeaux {
  color: var(--color-bordeaux);
}

.text-bordeaux-light {
  color: var(--color-bordeaux-light);
}

.text-bordeaux-dark {
  color: var(--color-bordeaux-dark);
}

.text-cream {
  color: var(--color-cream);
}

.text-dark {
  color: var(--color-dark);
}

.text-gold {
  color: var(--color-gold);
}

.text-white {
  color: #fff;
}

.text-gray {
  color: #6b7280;
}

.bg-bordeaux {
  background-color: var(--color-bordeaux);
}

.bg-bordeaux-light {
  background-color: var(--color-bordeaux-light);
}

.bg-bordeaux-dark {
  background-color: var(--color-bordeaux-dark);
}

.bg-cream {
  background-color: var(--color-cream);
}

.bg-cream-dark {
  background-color: var(--color-cream-dark);
}

.bg-cream-dark h2 {
  color: var(--color-bordeaux);
}

.bg-dark {
  background-color: var(--color-dark);
}

.bg-white {
  background-color: #fff;
}

/* ==========================================================================
   SPACING UTILITIES
   ========================================================================== */

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

/* ==========================================================================
   FLEXBOX / GRID UTILITIES
   ========================================================================== */

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.grid {
  display: grid;
}

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

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   SIZING
   ========================================================================== */

.w-full {
  width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

/* ==========================================================================
   POSITIONING
   ========================================================================== */

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ==========================================================================
   BORDERS & RADIUS
   ========================================================================== */

.rounded {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border: 1px solid #e5e7eb;
}

.border-bordeaux {
  border-color: var(--color-bordeaux);
}

.border-cream {
  border-color: var(--color-cream);
}

.border-white {
  border-color: #fff;
}

.border-gold {
  border-color: var(--color-gold);
}

/* ==========================================================================
   SHADOWS
   ========================================================================== */

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   OVERFLOW & DISPLAY
   ========================================================================== */

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   TRANSITION
   ========================================================================== */

.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.transition-opacity {
  transition: opacity 0.3s ease;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-100 {
  opacity: 1;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

/* ==========================================================================
   HERO ENTRANCE ANIMATIONS
   ========================================================================== */

@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroSubIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-enter {
  animation: heroTitleIn 1s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s both;
}

.hero-subtitle-enter {
  animation: heroSubIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.7s both;
}

.hero-cta-enter {
  animation: heroSubIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 1s both;
}

/* ==========================================================================
   SCROLL INDICATOR BOUNCE
   ========================================================================== */

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ==========================================================================
   CARD HOVER LIFT
   ========================================================================== */

.card-lift {
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
              box-shadow 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(120, 21, 59, 0.12);
}

/* ==========================================================================
   ACCENT TOP BAR (for cards)
   ========================================================================== */

.accent-top-bar {
  position: relative;
}

.accent-top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-bordeaux), var(--color-bordeaux-light));
  border-radius: 0 0 2px 2px;
}

/* ==========================================================================
   NAV SCROLLED
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.25rem 0;
  background-color: transparent;
}

.site-nav.nav-scrolled {
  background-color: rgba(250, 249, 245, 0.97);
  box-shadow: 0 1px 12px rgba(120, 21, 59, 0.08);
  padding: 0.75rem 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   NAV LINK UNDERLINE ANIMATION
   ========================================================================== */

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-dark);
  padding-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-bordeaux);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-bordeaux);
  font-weight: 600;
}

/* ==========================================================================
   FAQ DETAILS / SUMMARY
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--color-cream-dark);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary:hover {
  color: var(--color-bordeaux);
}

.faq-item summary .faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-bordeaux);
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding-bottom: 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
}

/* ==========================================================================
   HERO BOUNCING ICONS
   ========================================================================== */

.hero-bounce-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-bounce {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}

.hero-bounce.is-ready {
  opacity: 1;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-bordeaux);
  color: #fff;
  border: 2px solid var(--color-bordeaux);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-bordeaux);
  border: 2px solid var(--color-bordeaux);
}

.btn-outline:hover {
  background-color: var(--color-bordeaux);
  color: #fff;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--color-bordeaux);
  border-color: #fff;
}

.btn-white {
  background-color: #fff;
  color: var(--color-bordeaux);
  border: 2px solid #fff;
}

.btn-white:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.section-subtitle {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: var(--color-bordeaux);
  margin-bottom: 0.5rem;
}

.section-subtitle-white {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-bordeaux);
}

.section-title-white {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
}

/* ==========================================================================
   HAMBURGER MENU
   ========================================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-dark);
  transition: all 0.3s ease;
  margin: 3px 0;
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

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

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(250, 249, 245, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--color-bordeaux);
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(255, 255, 255, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 0.25rem;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   DOMAIN TAGS
   ========================================================================== */

.domain-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-bordeaux);
  color: var(--color-bordeaux);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.domain-tag:hover {
  background-color: var(--color-bordeaux);
  color: #fff;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.service-card {
  background-color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.service-card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
  color: var(--color-bordeaux);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.service-card-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
}

/* ==========================================================================
   PROJECT CARDS
   ========================================================================== */

.project-card {
  overflow: hidden;
  background-color: #fff;
}

.project-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.project-card-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-bordeaux);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.project-card-link:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   INSTAGRAM / ACTUALITES CARDS
   ========================================================================== */

.instagram-card {
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.instagram-card iframe {
  width: 100%;
  min-height: 480px;
  border: 0;
}

#instagram ul {
  grid-template-columns: 1fr !important;
}

@media (min-width: 640px) {
  #instagram ul {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  #instagram ul {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  transition: color 0.3s ease;
}

.contact-info-link:hover {
  color: #fff;
}

.contact-info-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   PAGE BANNER (inner pages)
   ========================================================================== */

.page-banner {
  background-color: var(--color-bordeaux);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 3rem 2rem;
  margin-top: 90px;
  z-index: 2;
}

.page-banner > .hero-bounce-container {
  overflow: hidden;
}

.page-banner + section,
.page-banner + article {
  padding-top: 6rem;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.page-banner-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.page-banner-title {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.2;
}

.page-banner-image {
  position: absolute;
  right: 3rem;
  bottom: -4rem;
  z-index: 3;
  pointer-events: none;
}

.page-banner-image img {
  width: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  max-width: none;
}

.page-banner-image-mobile {
  display: none;
}

@media (max-width: 768px) {
  .page-banner {
    min-height: 180px;
    padding: 2.5rem 1.5rem;
    margin-top: 90px;
  }

  .page-banner-title {
    font-size: 1.75rem;
  }

  .page-banner-image {
    display: none;
  }

  .page-banner-image-mobile {
    display: block;
    position: absolute;
    bottom: -245px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 3;
  }

  .page-banner-image-mobile img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
}

@media (min-width: 769px) {
  .page-banner {
    padding: 3rem 4rem;
  }
}

@media (min-width: 1024px) {
  .page-banner {
    padding: 3rem 6rem;
    min-height: 260px;
  }

  .page-banner-title {
    font-size: 3rem;
  }
}

/* ==========================================================================
   FORMIDABLE FORMS OVERRIDES
   ========================================================================== */

#frm_field_6_container,
.frm_submit {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.frm_button_submit {
  margin-bottom: 0 !important;
}

/* Error summary list */
.frm-error-summary {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.frm-error-summary p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #991b1b;
  margin-bottom: 0.75rem;
}

.frm-error-summary ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.frm-error-summary ul li {
  margin-bottom: 0.25rem;
}

.frm-error-summary ul li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #991b1b;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.frm-error-summary ul li a:hover {
  color: var(--color-bordeaux);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--color-bordeaux-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: #fff;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: #fff;
}

.footer-social-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icon:hover {
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   FORM MESSAGES
   ========================================================================== */

.form-success {
  background-color: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 1rem;
  display: none;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  background-color: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.5);
  color: #ff9999;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 1rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-lg {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

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

  .text-7xl {
    font-size: 3rem;
  }

  .text-6xl {
    font-size: 2.5rem;
  }

  .text-5xl {
    font-size: 2rem;
  }

  .text-4xl {
    font-size: 1.75rem;
  }

  .section-title,
  .section-title-white {
    font-size: 1.75rem;
  }

  .section-subtitle,
  .section-subtitle-white {
    font-size: 1.375rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-lg {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-col-brand {
    order: 2;
  }

  .footer-col-nav {
    order: 1;
  }

  .footer-col-social {
    order: 1;
  }

  .hero-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .text-7xl {
    font-size: 2.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
  }
}
