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

:root {
    --primary: #1a4d3e;
    --primary-light: #2d6b55;
    --accent: #c77d3a;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-cream: #faf8f5;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}


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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?ixlib=rb-4.0.3&auto=format&fit=crop&w=2340&q=80');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, rgba(250, 248, 245, 0.75) 0%, rgba(255, 255, 255, 0.82) 50%, rgba(249, 250, 251, 0.75) 100%);
    z-index: 0;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.1rem 2.8rem;
    border: none;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 77, 62, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 77, 62, 0.35);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 0.85rem 1.8rem;
    border-radius: 60px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.2);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-cream);
    border-radius: 20px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-top: 0.8rem;
    font-weight: 500;
}

.hero-logo {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 77, 62, 0.1);
}

.hero-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.95;
}

section {
    padding: 7rem 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.about-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
}

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(26, 77, 62, 0.2);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    color: var(--text-medium);
}

.service-card li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.service-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.approach-section {
    background: var(--bg-light);
}

.approach-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.ipre-model {
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

.ipre-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.ipre-step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-cream);
    border-radius: 16px;
    transition: all 0.3s;
}

.ipre-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ipre-letter {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 77, 62, 0.25);
}

.ipre-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ipre-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.approach-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.principle-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.principle-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.principle-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

.tarife-section {
    background: var(--white);
    padding: 5rem 0;
}

.tarife-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary);
}

.tarif-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(26, 77, 62, 0.1);
}

.tarif-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tarif-item:first-child {
    padding-top: 0;
}

.tarif-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.2);
}

.tarif-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tarif-price-inline {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
}

.tarif-detail {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0.3rem 0 0 0;
    font-style: italic;
}

.tarife-financing-info {
    max-width: 700px;
    margin: 2.5rem auto 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    text-align: center;
}

.tarife-financing-info p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-item-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.contact-item-content p {
    margin: 0;
    color: var(--text-medium);
    font-size: 1rem;
}

.contact-item-content a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-content a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 77, 62, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26, 77, 62, 0.25);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 77, 62, 0.35);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(26, 77, 62, 0.15);
}

.form-status {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.field-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.legal-page {
    background: var(--white);
    padding: 8rem 0 5rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
}

.legal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    color: var(--accent);
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s;
    cursor: pointer;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.8;
}

@media (max-width: 1024px) {

    .hero-container,
    .about-content-wrapper,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid,
    .approach-principles {
        grid-template-columns: 1fr;
    }

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

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .about-photo {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav-links.mobile-open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        min-height: 48px;
        line-height: 48px;
    }

    nav {
        padding: 0.8rem 0;
    }

    .hero {
        padding-top: 5.5rem;
        min-height: auto;
    }

    .hero-container {
        padding-top: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .hero-card {
        padding: 2rem;
    }

    .credential-badge {
        font-size: 0.85rem;
        padding: 0.7rem 1.4rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

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

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .ipre-model {
        padding: 2rem;
    }

    .ipre-title {
        font-size: 1.8rem;
    }

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

    .ipre-step {
        padding: 1.5rem;
    }

    .principle-card {
        padding: 2rem;
    }

    .principle-card h3 {
        font-size: 1.3rem;
    }

    .tarife-box {
        padding: 1.5rem;
    }

    .tarif-content h4 {
        font-size: 1.1rem;
    }

    .tarife-financing-info {
        padding: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-content {
        gap: 2.5rem;
    }

    .footer-links li {
        padding: 0.4rem 0;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* Accessibility: Focus States */
.btn:focus-visible,
.footer-links a:focus-visible,
.contact-item-content a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
