/* Default styles */
:root {
    --primary: #000;
    --bg: #f7f6f6;
    --hover: #4a6fa5;
    --shadow: rgba(0,0,0,0.1);
    --accent: #4a6fa5;
    --card-bg: #fff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* 'Barlow Condensed' font family */
@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-RegularItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow-condensed/BarlowCondensed-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'Barlow Condensed', system-ui, sans-serif;
    background: var(--bg);
    color: var(--primary);
    line-height: 1.4;
    font-weight: 300;
    padding: 0 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

ul {
    text-align: justify;
    font-size: 1.6rem;
    list-style-type: square;
    margin: 1.5rem 0;
    padding: 0 5rem;
}

strong {
    font-weight: 700;
}

.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image caption styles */
.caption {
    text-align: center;
    font-weight: 200;
    font-size: 0.75rem;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    font-family: 'Barlow Condensed', system-ui, sans-serif;
}

/* Header Styles */
header {
    margin: 2rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 8px var(--shadow);
}

/* Main Styles */
main {
    margin: 2rem 0;
}

main h2, main h3 {
    margin: 1.5rem auto;`
    font-weight: 800;
    display: inline-block;
    padding: 1rem;
}

main h2 {
    color: ghostwhite;
    background-color: #4a6fa5;
    border-left: 3px solid rgba(74, 111, 165, 0.08);
}

main h3 {
    background-color: lightgoldenrodyellow;
    border-left: 5px solid black;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.75rem;
    font-weight: 300;
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
    font-variant: small-caps;
}

/* Quote styles */
blockquote {
    font-family: 'Barlow Condensed', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    position: relative;
    background-color: rgba(74, 111, 165, 0.08); /* Light version of accent color */
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

blockquote::before {
    content: "\201C"; /* Unicode for opening double quotation mark */
    font-family: 'Barlow Condensed', system-ui, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    color: var(--accent);
    opacity: 0.4;
}

blockquote p {
    margin-bottom: 0.8rem;
}

blockquote p:last-child {
    margin-bottom: 0;
}

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

blockquote a:hover {
    text-decoration: underline;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: right;
}

blockquote cite::before {
    content: "— ";
}

/* BIO */
.bio {
    line-height: 1.35;
    max-width: 600px;
    margin: 1.5rem auto;
    font-size: 1.6rem;
    text-align: center;
}

.asterisme-svg-container {
    display: flex;
    justify-content: center;
}

.asterisme-svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

.asterisme {
    width: 32px;
    height: 32px;
    margin: 3rem auto;
}

/* Cards Section */
.section-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px var(--shadow);
    transition: var(--transition);
}

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

.card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card h4 {
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 100;
    margin-bottom: 0.3rem;
}

.card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-summary {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.card-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.card-btn:hover {
    background-color: #384f75;
    transform: translateY(-2px);
}

/* Content Section */
.section-content {
    border-top:  1px solid rgba(0,0,0,0.1);
}

.section-content h3 {
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-content h4 {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.txt-big {
    text-align: justify;
    line-height: 1.35;
    max-width: 600px;
    margin: 1.5rem auto;
    font-size: 1.6rem;
}

.txt-big a, .bio a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.txt-big a:hover, .bio a:hover {
    text-decoration: underline;
}

.txt-big .accent {
    font-weight: 500;
    font-style: italic;
}

.txt-big .accent em {
    font-style: normal;
}

.txt-big-list {
    display: none;
}

/* section ol {
    max-width: 600px;
    margin: auto;
    padding: 3rem 4rem;
    background-color: rgba(256, 256, 256, 1.0);
    border-radius: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    list-style-type: decimal;
}

section ol li {
    padding-left: 1rem;
    list-style-position: outside;
    text-align: justify;
    text-justify: auto;
} */

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 75%;
    margin: 0 auto;
    text-align: center;
}

.btn {
    padding: 0.8rem;
    background: #fff;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 4px var(--shadow);
}

.btn:hover {
    background: var(--hover);
    color: #fff;
    transform: translateY(-2px);
}

/* Tabelau Comparatif */
.comparison-table-wrapper {
    margin: 2rem auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Barlow Condensed', system-ui, sans-serif;
    box-shadow: 0 4px 8px var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
}

.comparison-table th {
    background-color: var(--accent);
    color: white;
    font-weight: 100;
    font-size: 1.5rem;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    font-size: 1.5rem;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(74, 111, 165, 0.05);
}

.comparison-table tr:hover {
    background-color: rgba(74, 111, 165, 0.1);
}

.feature-check {
    color: #2ecc71;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature-cross {
    color: #e74c3c;
    font-size: 1.3rem;
}

/* Social Section */
.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.social a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    clip-path: polygon(.44em 0%, 100% 0%, calc(100% - .44em) 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.social a:hover {
    transform: scale(1.1);
}

.social svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.txt-small {
    line-height: 1.35;
    max-width: 700px;
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    text-align: left;
}

.highlight {
    font-weight: 600;
    color: var(--accent);
}

/* Footer Styles */
footer {
    margin: 2rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 75%;
    margin: 0 auto;
    margin-top: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer-nav a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PDF viewer styles */
.pdf-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow);
    overflow: hidden;
    position: relative;
}

.pdf-viewer {
    width: 100%;
    height: 800px;
    border: none;
}

.fullscreen-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fullscreen-btn svg {
    width: 1.2em;
    height: 1.2em;
}

/* Fullscreen styles */
.pdf-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    z-index: 1000;
    border-radius: 0;
}

.pdf-container.fullscreen .pdf-viewer {
    height: 100%;
}

/* Media Queries */
@media (max-width: 480px) {
    blockquote {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
    
    blockquote::before {
        font-size: 3rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .comparison-table td:first-child {
        font-size: 1rem;
    }
    
    .footer-wrap {
        flex-direction: column;
        text-align: left;
    }
    
    .footer-nav {
        text-align: left;
        margin-top: 1rem;
    }
    .pdf-viewer {
        height: 500px;
    }
}