/*
Theme Name: La Boîte Administrative
Theme URI: https://laboiteadministrative.fr
Author: La Boîte Administrative
Author URI: https://laboiteadministrative.fr
Description: Thème personnalisé pour La Boîte Administrative - Votre assistance administrative. Services de gestion administrative et pré-comptabilité pour professionnels et particuliers.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-boite-administrative
Tags: business, professional, administrative, one-column, custom-colors, custom-logo, featured-images, responsive-layout

La Boîte Administrative - Votre partenaire pour la gestion administrative
*/

/* ============================================
   VARIABLES CSS - Design System
   ============================================ */

:root {
  --background: hsl(25, 35%, 80%);
  --foreground: hsl(225, 65%, 35%);
  --card: hsl(30, 30%, 95%);
  --card-foreground: hsl(225, 65%, 35%);
  --primary: hsl(225, 65%, 35%);
  --primary-foreground: hsl(30, 30%, 95%);
  --secondary: hsl(30, 20%, 92%);
  --secondary-foreground: hsl(225, 65%, 35%);
  --muted: hsl(30, 15%, 85%);
  --muted-foreground: hsl(225, 30%, 55%);
  --accent: hsl(225, 65%, 35%);
  --accent-foreground: hsl(30, 30%, 95%);
  --border: hsl(30, 20%, 80%);
  --radius: 0.5rem;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

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

/* ============================================
   CONTAINER
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: hsla(25, 35%, 80%, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem 0;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: absolute;
}

.nav-left {
  left: 0;
}

.nav-right {
  right: 0;
}

.nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--muted-foreground);
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

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

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 10rem;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.8));
}

.site-logo:hover img {
  transform: scale(1.05);
}

/* ============================================
   MOBILE HEADER
   ============================================ */

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

@media (min-width: 1024px) {
  .mobile-header {
    display: none;
  }
}

.mobile-logo img {
  height: 3.5rem;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* Hamburger Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.05);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-foreground);
  transition: all 0.3s ease;
}

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

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

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

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

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

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  visibility: visible;
}

@media (min-width: 1024px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Backdrop */
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Menu Panel */
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 320px;
  max-width: 85vw;
  background-color: var(--background);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu-panel.active {
  transform: translateX(0);
}

/* Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.close-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--muted);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.2s ease;
}

.close-menu-btn:hover {
  background-color: var(--border);
}

/* Menu Navigation */
.mobile-menu-nav {
  flex: 1;
  padding: 1.5rem;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.mobile-menu-link:hover {
  background-color: hsla(225, 65%, 35%, 0.1);
  color: var(--primary);
}

.mobile-menu-link.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Menu Footer */
.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-home-link {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 1rem;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.back-home-link:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out both;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.scale-in {
  animation: scaleIn 0.5s ease-out both;
}

/* Delay classes - use with animation classes */
.fade-in.delay-100, .fade-in-up.delay-100, .scale-in.delay-100 { animation-delay: 0.1s; }
.fade-in.delay-200, .fade-in-up.delay-200, .scale-in.delay-200 { animation-delay: 0.2s; }
.fade-in.delay-300, .fade-in-up.delay-300, .scale-in.delay-300 { animation-delay: 0.3s; }
.fade-in.delay-400, .fade-in-up.delay-400, .scale-in.delay-400 { animation-delay: 0.4s; }
.fade-in.delay-500, .fade-in-up.delay-500, .scale-in.delay-500 { animation-delay: 0.5s; }
.fade-in.delay-600, .fade-in-up.delay-600, .scale-in.delay-600 { animation-delay: 0.6s; }

/* Hover effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

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

.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.section-title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  transform: scale(1.05);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: white;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background-color: var(--secondary);
  transform: scale(1.05);
}

.arrow {
  margin-left: 0.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow span {
  margin-left: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  padding-top: 14rem;
  padding-bottom: 4rem;
  text-align: center;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo img {
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-logo img {
    max-width: 400px;
  }
}

.page-hero {
  padding-top: 13rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-cta {
  margin-top: 3rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  padding: 2rem 1rem 4rem;
  background-color: hsla(30, 20%, 92%, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid hsla(225, 65%, 35%, 0.1);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-icon {
  background-color: hsla(225, 65%, 35%, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.service-header .text-muted {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Section header with icon */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header .section-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.section-header .section-title {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
  padding: 5rem 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.why-icon {
  background-color: hsla(225, 65%, 35%, 0.1);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.why-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.why-item p {
  color: var(--muted-foreground);
}

/* ============================================
   HOW SECTION (Timeline)
   ============================================ */

.how-section {
  padding: 5rem 1rem;
  background-color: hsla(30, 20%, 92%, 0.2);
}

.timeline {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.timeline-number {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.timeline-content {
  margin-left: 2rem;
  background-color: var(--background);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.timeline-content p {
  color: var(--muted-foreground);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */

.testimonial-section {
  padding: 5rem 1rem;
}

.client-logo-wrapper {
  display: flex;
  justify-content: center;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: hsla(30, 20%, 92%, 0.3);
  border-radius: 0.5rem;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.client-name {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 5rem 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.cta-section .section-title {
  color: var(--primary-foreground);
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   INTRO SECTION
   ============================================ */

.intro-section {
  padding: 3rem 1rem;
}

.intro-text {
  max-width: 56rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
}

.intro-text p {
  margin-bottom: 1.5rem;
}

/* ============================================
   BENEFITS GRID
   ============================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.benefit-icon {
  background-color: hsla(225, 65%, 35%, 0.1);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.benefit-item h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

.benefit-item p {
  font-size: 0.875rem;
}

/* ============================================
   ADMIN SERVICES SECTION
   ============================================ */

.admin-services-section {
  padding: 3rem 1rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-header-inline .section-icon-small {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.section-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.services-boxes {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.service-box {
  border: 1px solid hsla(225, 65%, 35%, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: hsla(30, 20%, 92%, 0.1);
}

.service-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .service-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item-bullet {
  display: flex;
  align-items: flex-start;
}

.service-item-bullet .bullet {
  color: var(--accent);
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  font-weight: bold;
}

.service-item-bullet h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.service-item-bullet p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-list-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item {
  padding-left: 1.5rem;
  position: relative;
}

.service-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-item h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.service-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================
   TARIFS SECTION
   ============================================ */

.tarifs-section {
  margin-top: 4rem;
  text-align: center;
}

.tarif-content {
  max-width: 48rem;
  margin: 0 auto;
}

.tarif-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.tarif-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  padding: 2rem 1rem 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid hsla(225, 65%, 35%, 0.3);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-desc {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.pricing-list {
  list-style: none;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.pricing-list li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.75rem;
}

.pricing-notes {
  margin-top: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-notes p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  padding: 3rem 1rem;
  background-color: hsla(30, 20%, 92%, 0.2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: 2;
}

@media (min-width: 1024px) {
  .about-image {
    order: 1;
  }
}

.image-mask {
  max-width: 16rem;
  overflow: hidden;
  border-radius: 0.5rem;
  mask-image: radial-gradient(ellipse 70% 70% at center, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 50%, transparent 100%);
}

.image-mask img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.image-caption {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  font-style: italic;
  text-align: center;
}

.about-content {
  order: 1;
}

@media (min-width: 1024px) {
  .about-content {
    order: 2;
  }
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text .signature {
  font-style: italic;
  text-align: right;
  margin-top: 2rem;
}

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

.contact-section {
  padding: 2rem 1rem;
}

.contact-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid hsla(225, 65%, 35%, 0.1);
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  padding: 0.75rem;
  border-radius: 50%;
  background-color: hsla(225, 65%, 35%, 0.1);
  color: var(--accent);
  margin-bottom: 0.75rem;
  transition: background-color 0.3s ease;
}

.contact-card:hover .contact-icon {
  background-color: hsla(225, 65%, 35%, 0.2);
}

.contact-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
}

/* ============================================
   LEGAL SECTION
   ============================================ */

.legal-section {
  padding-top: 15rem;
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.legal-content {
  max-width: 56rem;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 2rem;
}

.legal-block h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.legal-block p {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.legal-block a {
  color: var(--primary);
}

.legal-block a:hover {
  text-decoration: underline;
}

.legal-block ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-block li {
  margin-bottom: 0.5rem;
}

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

.site-footer {
  padding: 2rem 1rem;
  background-color: hsla(30, 20%, 92%, 0.1);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.text-muted {
  color: var(--muted-foreground);
}

/* ============================================
   SECTION HEADER INLINE
   ============================================ */

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-icon-small {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.section-header-inline .section-title {
  margin-bottom: 0;
}

/* ============================================
   BENEFITS GRID (Gestion Administrative)
   ============================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.benefit-icon {
  background-color: hsla(225, 65%, 35%, 0.1);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.benefit-item h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ============================================
   SERVICES DETAIL SECTION
   ============================================ */

.services-detail-section {
  padding: 3rem 1rem 5rem;
}

.services-boxes {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.service-box {
  border: 1px solid hsla(225, 65%, 35%, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: hsla(30, 20%, 92%, 0.1);
}

.service-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .service-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
}

.service-item .bullet {
  color: var(--accent);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-weight: bold;
}

.service-item h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.service-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   PRICING SIMPLE
   ============================================ */

.pricing-simple {
  margin-top: 4rem;
  text-align: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-simple h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  max-width: 48rem;
  margin: 0 auto;
}

.pricing-text .bullet {
  color: var(--accent);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-weight: bold;
}

.pricing-text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  padding: 3rem 1rem;
  background-color: hsla(30, 20%, 92%, 0.2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-photo {
  display: flex;
  justify-content: center;
  order: 2;
}

@media (min-width: 1024px) {
  .about-photo {
    order: 1;
  }
}

.photo-wrapper {
  max-width: 16rem;
  overflow: hidden;
  border-radius: 0.5rem;
  mask-image: radial-gradient(ellipse 70% 70% at center, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 50%, transparent 100%);
}

.photo-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-text {
  order: 1;
}

@media (min-width: 1024px) {
  .about-text {
    order: 2;
  }
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-content .signature {
  font-style: italic;
  text-align: right;
  margin-top: 2rem;
  font-size: 1.125rem;
}

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

.contact-section {
  padding: 2rem 1rem 4rem;
}

.contact-intro {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   FLOATING SOCIAL BUTTONS
   ============================================ */

.floating-social {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 0.5s ease-out forwards;
}

.floating-btn-linkedin {
  animation-delay: 0.3s;
}

.floating-btn-whatsapp {
  animation-delay: 0.5s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.floating-icon-linkedin {
  background-color: #0077B5;
}

.floating-icon-whatsapp {
  background-color: #25D366;
}

.floating-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-label {
  position: absolute;
  right: 70px;
  padding: 8px 16px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-label-linkedin {
  background-color: #0077B5;
}

.floating-label-whatsapp {
  background-color: #25D366;
}

.floating-btn:hover .floating-label {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation for WhatsApp */
.floating-icon-whatsapp {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
