/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
    --terracotta: #c97b5a;
    --terracotta-light: #e8a88a;
    --terracotta-pale: #fdf6f3;
    --cream: #faf8f5;
    --stone: #2c2c2c;
    --stone-light: #57534e;
    --stone-lighter: #a8a29e;
    --white: #ffffff;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--stone);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--stone);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p { margin-bottom: 1rem; }

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

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-xl) 0;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--stone);
}

.dot {
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--stone-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--terracotta);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--stone);
    transition: var(--transition);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--terracotta-pale) 0%, var(--cream) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.hero-title {
    margin-bottom: var(--spacing-md);
}

.highlight {
    color: var(--terracotta);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--stone-light);
    max-width: 450px;
    margin-bottom: var(--spacing-md);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: blob 7s infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--terracotta-light);
    top: 50px;
    right: 50px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--terracotta);
    bottom: 50px;
    left: 50px;
    animation-delay: -3s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 420px;
    height: 550px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 200px 200px 120px 120px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    will-change: transform;
    backface-visibility: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-lighter);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--stone-lighter);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--stone-lighter);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--stone);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.15rem;
    color: var(--stone-light);
}

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

.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.image-frame {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--terracotta-pale);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 150px;
    height: 150px;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--stone-light);
}

.about-text strong {
    color: var(--terracotta);
    font-weight: 500;
}

.about-text em {
    font-style: italic;
}

.highlight-text {
    font-size: 1.2rem !important;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--terracotta) !important;
    padding-left: 1.5rem;
    border-left: 3px solid var(--terracotta);
}

/* ============================================
   PHILOSOPHIE SECTION
   ============================================ */

.philosophie {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.pillar {
    text-align: center;
    padding: var(--spacing-md);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background: var(--terracotta-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 40px;
    height: 40px;
    color: var(--terracotta);
}

.pillar h3 {
    margin-bottom: var(--spacing-sm);
}

.pillar p {
    color: var(--stone-light);
    font-size: 1rem;
}

/* ============================================
   SPECIALITES SECTION
   ============================================ */

.specialites {
    background: var(--white);
}

.specialites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.specialite-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition);
}

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

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--terracotta-pale);
    line-height: 1;
}

.specialite-card h3 {
    margin-bottom: var(--spacing-sm);
    padding-right: 2rem;
}

.specialite-card p {
    color: var(--stone-light);
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    background: var(--terracotta-pale);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--terracotta);
}

.step-content p {
    color: var(--stone-light);
    margin: 0;
}

/* ============================================
   OFFRES SECTION
   ============================================ */

.offres {
    background: var(--white);
}

.offres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.offre-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.offre-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offre-card.featured {
    background: linear-gradient(135deg, var(--terracotta-pale), var(--cream));
    border-color: var(--terracotta);
}

.offre-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terracotta);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offre-badge.premium {
    background: var(--stone);
}

.offre-card h3 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.offre-subtitle {
    text-align: center;
    color: var(--stone-light);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.offre-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.offre-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(201, 123, 90, 0.1);
    color: var(--stone-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.offre-features li::before {
    content: '✓';
    color: var(--terracotta);
    font-weight: 600;
}

.offre-ideal {
    text-align: center;
    font-size: 0.9rem;
    color: var(--stone-lighter);
    font-style: italic;
}

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

.contact {
    background: linear-gradient(180deg, var(--cream) 0%, var(--terracotta-pale) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-description {
    font-size: 1.1rem;
    color: var(--stone-light);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--stone);
    transition: var(--transition);
}

.contact-link:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateX(5px);
}

.contact-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--stone);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.form-group select {
    cursor: pointer;
}

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

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

.footer {
    background: var(--stone);
    color: var(--cream);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(250, 248, 245, 0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-logo .dot {
    color: var(--terracotta);
}

.footer-brand p {
    color: var(--stone-lighter);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--stone-lighter);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

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

.footer-bottom p {
    color: var(--stone-lighter);
    font-size: 0.85rem;
    margin: 0;
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.5s; }
.fade-in:nth-child(4) { animation-delay: 0.7s; }

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .image-frame {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .offres-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav.active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }

    .nav.active .nav-links a {
        padding: 0.75rem;
        border-bottom: 1px solid var(--stone-lighter);
    }

    h1 { font-size: 2.5rem; }

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

    section {
        padding: var(--spacing-lg) 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .hero-image {
        width: 280px;
        height: 360px;
    }

    .blob-1, .blob-2 {
        width: 200px;
        height: 200px;
    }

    .btn {
        padding: 0.875rem 2rem;
    }
}
