/* ==========================================================================
   Design System - Timothée Lancien Magicien
   Theme: Elegant Beige, Gold & Warm Charcoal
   ========================================================================== */

:root {
    --bg-color: #f7f4eb;
    --card-bg: #ffffff;
    --card-border: rgba(184, 134, 11, 0.25);
    --primary-color: #b8860b; /* Metallic Dark Gold */
    --primary-hover: #c5a059;
    --secondary-color: #5c3a21; /* Warm Brown */
    --text-color: #2b221a; /* Warm Charcoal (highly readable) */
    --text-muted: #5e5349;
    --header-bg: rgba(247, 244, 235, 0.9);
    --font-heading: 'Cinzel Decorative', serif;
    --font-accent: 'Cormorant Garamond', serif;
    --font-body: 'Cormorant Garamond', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Subtle paper texture */
    background-image: radial-gradient(rgba(184, 134, 11, 0.03) 1px, transparent 0),
                      radial-gradient(rgba(184, 134, 11, 0.03) 1px, transparent 0);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Typography & Layout Utilities */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.accent {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(184, 134, 11, 0.1);
}

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

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    box-shadow: 0 0 5px var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary,
.btn-secondary,
.btn-orange {
    background-color: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-orange:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
    transform: translateY(-2px);
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(184, 134, 11, 0.15);
    transition: var(--transition);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.15rem; /* Réduit pour éviter les collisions avec le menu */
    font-weight: 700;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    line-height: 1.2;
}

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

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

.btn-nav {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================================
   Hero Section - Full Width
   ============================================================ */
.hero-section {
    display: flex;
    flex-direction: column;
}

.hero-fullbg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Overlay TRÈS ATTÉNUÉ pour que la photo claque */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(43, 34, 26, 0.22) 0%,
        rgba(43, 34, 26, 0.08) 60%,
        rgba(247, 244, 235, 0.90) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
    margin-top: 180px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    animation: fadeInDown 1s var(--transition);
}

/* Nouveau titre "Timothée l'ancien magicien" — police Cormorant Garamond */
.hero-new-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.4);
    margin-bottom: 30px;
    letter-spacing: 0.03em;
    animation: fadeInUp 1s 0.15s var(--transition) both;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
    animation: fadeInUp 1s 0.2s var(--transition) both;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s 0.4s var(--transition) both;
}

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

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: var(--transition);
    overflow: hidden; /* Empêche les médias de dépasser des bords arrondis */
}

.about-card.card-full {
    padding-right: 15px; /* Laisse juste un mini espace pour respirer */
}

.about-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.08);
}

.card-large {
    background: #ffffff;
    border-color: var(--card-border);
}

.card-content-split {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.split-text {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(184, 134, 11, 0.2);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

#about-presentation-titre {
    font-family: var(--font-accent);
    font-size: 2.6rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    color: var(--secondary-color);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-card p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Icône de section — supporte à la fois FontAwesome et image logo personnalisé */
.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(184, 134, 11, 0.08);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.card-icon img.section-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: none;
}

/* Specialty Layout (2 images + 1 video grid) — MÉDIAS AGRANDIS */
.specialty-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.6fr;
    gap: 40px;
    align-items: center;
}

.specialty-text {
    display: flex;
    flex-direction: column;
}

/* Grille médias agrandie : 3 colonnes, hauteur plus importante */
.specialty-media {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Media item AGRANDI — aspect ratio plus généreux */
.media-item {
    width: 100%;
    aspect-ratio: 9/16;     /* Modifié pour être identique au format vidéo 9/16 */
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(184, 134, 11, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.media-item:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Vidéos dans les grilles about */
video.media-item {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;    /* Format portrait vidéo verticale (type Instagram/TikTok) */
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(184, 134, 11, 0.2);
    transition: var(--transition);
    display: block;
    cursor: pointer;
}

video.media-item:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
}

/* Vidéos dans la galerie */
.gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre de l'aspect-ratio détecté */
    border-radius: 8px;
    border: 1px solid rgba(184, 134, 11, 0.2);
    transition: var(--transition);
    display: block;
}

/* Testimonials Widget */
.section-testimonials {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px;
}

.testimonials-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    justify-content: center; /* Centre les cartes quand elles sont peu nombreuses */
    flex-wrap: wrap; /* Permet le retour à la ligne si besoin */
}

.testimonials-carousel::-webkit-scrollbar {
    height: 4px;
}

.testimonials-carousel .testimonial-card {
    flex: 0 1 350px; /* Permet de rétrécir si besoin */
    scroll-snap-align: start;
    min-width: 260px;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.event-item {
    background: #ffffff;
    border: 1px solid rgba(184, 134, 11, 0.2);
    padding: 24px 16px;
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    line-height: 1.3;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    min-height: 80px;
}

.event-item span {
    display: block;
    text-align: center;
    width: 100%;
    line-height: 1.3;
}

.event-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.1);
    transform: translateY(-2px);
}

/* Projects Section (Social Feed) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.1);
}

.project-media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.project-card:hover .gallery-overlay,
.project-card:hover .social-links-overlay {
    opacity: 1;
}

.social-links-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 34, 26, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
}

.social-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    transition: var(--transition);
    width: 80%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.social-overlay-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-overlay-btn.tiktok {
    background-color: #010101;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-overlay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-family: var(--font-heading);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.project-content .project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.project-content .project-link:hover {
    gap: 10px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    aspect-ratio: 1/1; /* Carré par défaut avant détection */
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(184, 134, 11, 0.15);
    transition: var(--transition);
    background: #1a1410;
}

.gallery-card.is-landscape {
    aspect-ratio: 16/9; /* Format paysage unique */
}

.gallery-card.is-portrait {
    aspect-ratio: 9/16; /* Format portrait unique */
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre de l'aspect-ratio détecté */
    transition: var(--transition);
}

/* Vignette vidéo dans la galerie */
.gallery-card.is-video {
    position: relative;
}

.gallery-card.is-video::after {
    content: '\f144'; /* fa-circle-play unicode */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 2;
    transition: var(--transition);
}

.gallery-card.is-video:hover::after {
    color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 34, 26, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
    z-index: 3;
}

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

.gallery-card:hover img,
.gallery-card:hover video {
    transform: scale(1.05);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Reviews Section */
.reviews-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonials-list-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.testimonials-list-full::-webkit-scrollbar {
    width: 4px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(184, 134, 11, 0.15);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* Avis avec photo — layout enrichi */
.testimonial-with-photo {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(184, 134, 11, 0.3);
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
    border: 2px solid rgba(184, 134, 11, 0.3);
}

.testimonial-body {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.stars {
    color: var(--primary-color);
}

.testimonial-comment {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.review-form-container {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.review-form-container h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: #faf9f6;
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 6px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.1);
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 1.5rem;
    color: rgba(184, 134, 11, 0.2);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

.form-disclaimer i {
    color: var(--primary-color);
}

/* ============================================================
   Contact Section — avec image de fond
   ============================================================ */
.contact-section {
    position: relative;
    min-height: 100vh; /* Assure que la section est assez haute pour montrer le fond */
}

.contact-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: brightness(0.35) saturate(0.8);
    z-index: 0;
    pointer-events: none;
}

.contact-section .section-container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.contact-section .section-title .accent {
    color: #d4a820;
    text-shadow: 0 0 20px rgba(184, 134, 11, 0.4);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

/* Contact section testimonials overlay */
.contact-section .section-testimonials {
    position: relative;
    z-index: 1;
}

.success-message {
    margin-top: 20px;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.hidden {
    display: none !important;
}

/* Footer & Social Banner */
.main-footer {
    background-color: #faf9f6;
    border-top: 1px solid rgba(184, 134, 11, 0.15);
    padding: 60px 24px 30px;
    text-align: center;
}

.social-banner {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.social-banner h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.social-banner-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tiktok {
    background-color: #010101;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 34, 26, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-lightbox:hover {
    color: var(--primary-color);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.lightbox-embed-container {
    width: 325px;
    height: 580px;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Section (for inner pages - compensates fixed header) */
.page-section {
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
}

.page-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: brightness(0.35) saturate(0.8);
    z-index: 0;
    pointer-events: none;
}

.page-section.has-bg .section-container {
    position: relative;
    z-index: 1;
}

.page-section.has-bg .section-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.page-section.has-bg .section-title .accent {
    color: #d4a820;
    text-shadow: 0 0 20px rgba(184, 134, 11, 0.4);
}

.page-section.has-bg .section-testimonials {
    position: relative;
    z-index: 1;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-new-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .card-large, .card-full { grid-column: span 1; }
    .card-content-split { flex-direction: column; text-align: center; }
    .specialty-layout { grid-template-columns: 1fr; }
    .specialty-media { grid-template-columns: repeat(3, 1fr); }
    .reviews-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 73px);
        background-color: var(--bg-color);
        border-left: 1px solid rgba(184, 134, 11, 0.1);
        flex-direction: column;
        padding: 50px 30px;
        gap: 30px;
        align-items: flex-start;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link { width: 100%; }
    .btn-nav { text-align: center; }
    .specialty-media { grid-template-columns: 1fr 1fr; }
    .hero-ctas { flex-direction: column; align-items: center; }
}

/* ============================================================
   Canva Hero Custom Style (Pinyon Script & Absolute Bottom-Right Button)
   ============================================================ */
.hero-canva-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    margin-top: 310px; /* Remonté au niveau des dents du visuel */
    display: flex;
    justify-content: center;
}

.hero-canva-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-canva-name {
    font-family: 'Pinyon Script', cursive;
    font-size: 7.5rem;
    color: #ffffff;
    line-height: 0.85;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.hero-canva-sub {
    font-family: 'Pinyon Script', cursive;
    font-size: 6rem;
    color: #ffffff;
    line-height: 0.85;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    margin-top: -15px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

@media (max-width: 992px) {
    .hero-canva-container {
        margin-top: 220px; /* Adjusted for smaller heights */
    }
    .hero-canva-name {
        font-size: 5.5rem;
    }
    .hero-canva-sub {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .hero-canva-container {
        margin-top: 150px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .hero-canva-name {
        font-size: 4.2rem;
    }
    .hero-canva-sub {
        font-size: 3.4rem;
    }
}

/* ============================================================
   Page Mentions Légales
   ============================================================ */
.legal-section {
    padding-top: 130px;
    padding-bottom: 80px;
    background-color: var(--bg-light);
}

.legal-intro {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.legal-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(184, 134, 11, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 30px 35px;
    transition: var(--transition);
}

.legal-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.1);
}

.legal-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-card-header i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.legal-card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--secondary-color);
    margin: 0;
}

.legal-card-body {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-color);
}

.legal-card-body p {
    margin-bottom: 15px;
}

.legal-card-body p:last-child {
    margin-bottom: 0;
}

.legal-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.legal-info-table th,
.legal-info-table td {
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.legal-info-table tr:last-child th,
.legal-info-table tr:last-child td {
    border-bottom: none;
}

.legal-info-table th {
    width: 38%;
    color: var(--secondary-color);
    font-weight: 600;
}

.legal-info-table td {
    color: var(--text-color);
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.legal-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.legal-note {
    background-color: rgba(184, 134, 11, 0.08);
    border-left: 3px solid var(--primary-color);
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.92rem;
    margin-top: 15px;
}

.legal-note i {
    color: var(--primary-color);
    margin-right: 6px;
}

.accent-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

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

.legal-back-btn {
    text-align: center;
    margin-top: 45px;
}

.copyright a.footer-legal-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
    margin-left: 5px;
}

.copyright a.footer-legal-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 22px 20px;
    }
    .legal-info-table th,
    .legal-info-table td {
        display: block;
        width: 100%;
        padding: 4px 0;
    }
    .legal-info-table th {
        padding-top: 10px;
    }
    .legal-info-table tr {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: block;
        padding-bottom: 8px;
    }
}


