/* ==========================================
   Julia Scherer Beauty — Design System
   ========================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --rose-gold: #B76E79;
  --rose-gold-light: #D4A0A7;
  --rose-gold-dark: #8E4A56;
  --gold: #C9A96E;
  --gold-light: #DFC99F;
  --off-white: #FAF7F5;
  --cream: #F5EDE8;
  --dark: #1A1A1A;
  --dark-soft: #2D2D2D;
  --gray-warm: #8B7D75;
  --gray-light: #C4B8B0;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-soft: 0 4px 30px rgba(183, 110, 121, 0.1);
  --shadow-card: 0 8px 40px rgba(26, 26, 26, 0.08);
  --shadow-hover: 0 12px 50px rgba(183, 110, 121, 0.2);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul { list-style: none; }

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

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section Title ---------- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-title p {
  font-size: 1rem;
  color: var(--gray-warm);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.navbar.scrolled .nav-logo {
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  transition: var(--transition-fast);
  border-radius: 1px;
}

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

.nav-links a:hover {
  color: var(--rose-gold-light);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--rose-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.navbar.scrolled .hamburger span {
  background: var(--dark);
}

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

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

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

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.3) 0%,
    rgba(26, 26, 26, 0.1) 40%,
    rgba(26, 26, 26, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-content .subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose-gold-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s 0.3s forwards;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s 0.6s forwards;
}

.hero-content h1 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero-content .hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: fadeInUp 1s 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s 1.2s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(183, 110, 121, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(183, 110, 121, 0.5);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--rose-gold-light);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; top: 8px; }
  50% { opacity: 0.3; top: 18px; }
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
  padding: var(--section-padding);
  background: var(--off-white);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--rose-gold-light);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 8px;
  color: var(--dark);
}

.about-text .highlight {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--rose-gold);
  font-size: 1.1rem;
  margin-bottom: 24px;
  display: block;
}

.about-text p {
  color: var(--gray-warm);
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 300;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cream);
}

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

.stat-item .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rose-gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.78rem;
  color: var(--gray-warm);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding: var(--section-padding);
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold-light), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--gray-warm);
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================
   PORTFOLIO / GALLERY
   ========================================== */
.portfolio {
  padding: var(--section-padding);
  background: var(--off-white);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-light);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-warm);
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: var(--white);
  border-color: var(--rose-gold);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  transition: var(--transition-fast);
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 3/2;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(26, 26, 26, 0.7) 100%
  );
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ==========================================
   FORMATION / TIMELINE
   ========================================== */
.formation {
  padding: var(--section-padding);
  background: var(--cream);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rose-gold), var(--gold));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 34px;
  width: 14px;
  height: 14px;
  background: var(--rose-gold);
  border-radius: 50%;
  border: 3px solid var(--cream);
}

.timeline-item .year {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rose-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-item .institution {
  font-size: 0.85rem;
  color: var(--gray-warm);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--gray-warm);
  font-weight: 300;
}

.formation-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 40px auto 0;
}

.formation-certs img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.formation-certs img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--gray-warm);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.testimonial-card .quote-icon {
  font-size: 2.4rem;
  color: var(--rose-gold-light);
  opacity: 0.4;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ==========================================
   PROFISSIONAL STRIP
   ========================================== */
.pro-strip {
  overflow: hidden;
}

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

.pro-strip-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.pro-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-strip-item:hover img {
  transform: scale(1.06);
}

.pro-strip-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-strip-content {
  text-align: center;
  color: var(--white);
  padding: 24px;
}

.pro-strip-content span {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.pro-strip-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pro-strip-content p {
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 300;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--white);
}

.contact .section-title h2 {
  color: var(--white);
}

.contact .section-title p {
  color: var(--gray-light);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.88rem;
  color: var(--gray-light);
  font-weight: 300;
}

.contact-item-text a:hover {
  color: var(--rose-gold-light);
}

.contact-cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px;
  text-align: center;
}

.contact-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-cta p {
  font-size: 0.9rem;
  color: var(--gray-light);
  font-weight: 300;
  margin-bottom: 28px;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1rem;
  padding: 16px 40px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #111;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--rose-gold);
  border-color: var(--rose-gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer p {
  font-size: 0.78rem;
  color: var(--gray-warm);
  font-weight: 300;
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition-fast);
  animation: float-pulse 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  /* Nav Mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: var(--transition-smooth);
    padding: 60px 40px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    color: var(--white) !important;
    letter-spacing: 2px;
  }

  .hamburger {
    display: flex;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 3/4;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Formation */
  .formation-certs {
    grid-template-columns: 1fr;
  }

  /* Lightbox */
  .lightbox img {
    max-width: 95vw;
    max-height: 80vh;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  /* Pro Strip */
  .pro-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-strip-cta {
    order: -1;
    grid-column: span 2;
    aspect-ratio: auto;
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    padding: 28px 20px;
  }

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