/* ═══════════════════════════════════════
   ABOUT-NEW.CSS — Page À propos
   New Brutalism — cohérent avec home.css
═══════════════════════════════════════ */

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

body {
    background: #ffc700;
    color: #1d1d1b;
    font-family: 'Palanquin Dark', sans-serif;
    overflow-x: hidden;
}

*, html, body { cursor: url('../Images/cursor.svg'), auto; }
a, button     { cursor: url('../Images/pointer.svg'), pointer; }

/* ── Label section ── */
.section-label {
    display: inline-block;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: black;
    color: #ffc700;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.section-label--light { background: #ffc700; color: black; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.about-hero {
    background: #ffc700;
    border-bottom: 4px solid black;
    padding: 80px 80px 60px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.about-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.about-hero-title {
    font-family: 'Londrina Solid', sans-serif;
    font-size: clamp(72px, 10vw, 140px);
    font-weight: 400;
    color: #1d1d1b;
    line-height: 1;
    margin: 0;
}

/* ══════════════════════════════════════
   PRÉSENTATION
══════════════════════════════════════ */
.about-content {
    background: white;
    border-bottom: 4px solid black;
    padding: 100px 80px;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.about-photo-wrap { position: relative; }

.about-photo-frame {
    position: relative;
    z-index: 2;
    border: 4px solid black;
    box-shadow: 8px 8px 0 black;
    border-radius: 2px;
    overflow: hidden;
    background: #ffc700;
}

.about-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-photo-deco {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 100%;
    height: 100%;
    background: #dd7dff;
    border: 4px solid black;
    border-radius: 2px;
    z-index: 1;
}

.about-name {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 52px;
    font-weight: 400;
    margin-bottom: 4px;
}

.about-tagline {
    font-size: 20px;
    color: #0068ff;
    font-weight: 600;
    margin-bottom: 28px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-text em { font-style: normal; color: #0068ff; font-weight: 700; }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.atag {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 16px;
    padding: 4px 14px;
    border: 3px solid black;
    border-radius: 2px;
}
.atag-yellow { background: #ffc700; }
.atag-blue   { background: #0068ff; color: white; }
.atag-purple { background: #dd7dff; }
.atag-green  { background: #00ff7c; }

/* ══════════════════════════════════════
   COMPÉTENCES
══════════════════════════════════════ */
.about-skills {
    background: #ffc700;
    border-bottom: 4px solid black;
    padding: 100px 80px;
}

.about-skills-inner { max-width: 1100px; margin: 0 auto; }

.skills-title {
    font-family: 'Londrina Solid', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    margin-bottom: 48px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.skill-card {
    border: 4px solid black;
    border-radius: 2px;
    padding: 32px 24px;
    box-shadow: 8px 8px 0 black;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.skill-card:nth-child(2) { transform: rotate(1deg); }
.skill-card:nth-child(4) { transform: rotate(-1deg); }
.skill-card:hover {
    transform: rotate(0deg) translate(-4px, -4px) !important;
    box-shadow: 12px 12px 0 black;
}

.sk-yellow { background: white; }
.sk-blue   { background: #0068ff; color: white; }
.sk-purple { background: #dd7dff; }
.sk-green  { background: #00ff7c; }

.skill-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.skill-card h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 12px;
}

.skill-card p { font-size: 15px; line-height: 1.6; }
.sk-blue h3, .sk-blue p { color: white; }

/* ══════════════════════════════════════
   LOGICIELS
══════════════════════════════════════ */
.about-tools {
    background: #1d1d1b;
    border-bottom: 4px solid black;
    padding: 100px 80px;
}

.about-tools-inner { max-width: 1100px; margin: 0 auto; }

.about-tools .section-label {
    background: #ffc700;
    color: black;
}

.tools-title {
    font-family: 'Londrina Solid', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    color: white;
    margin-bottom: 48px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 4px solid black;
    border-radius: 2px;
    padding: 20px 24px;
    box-shadow: 6px 6px 0 #ffc700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #ffc700;
}

.tool-abbr {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 3px solid black;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 22px;
    font-weight: 400;
}

.tool-abbr--blue   { background: #0068ff; color: white; }
.tool-abbr--yellow { background: #ffc700; color: black; }
.tool-abbr--purple { background: #dd7dff; color: black; }
.tool-abbr--green  { background: #00ff7c; color: black; }
.tool-abbr--dark   { background: #1d1d1b; color: #ffc700; }

.tool-info { flex: 1; min-width: 0; }

.tool-info h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #1d1d1b;
    margin-bottom: 2px;
}

.tool-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.tool-level {
    display: inline-block;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 2px 8px;
    border: 2px solid black;
    border-radius: 2px;
}

.tool-level--high { background: #00ff7c; color: black; }
.tool-level--mid  { background: #ffc700; color: black; }
.tool-level--low  { background: #ddd;    color: #555;  }

/* ══════════════════════════════════════
   RESSOURCES
══════════════════════════════════════ */
.about-resources {
    background: #0068ff;
    border-bottom: 4px solid black;
    padding: 80px 80px;
}

.about-resources-inner { max-width: 1100px; margin: 0 auto; }

.resources-title {
    font-family: 'Londrina Solid', sans-serif;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 400;
    color: white;
    margin-bottom: 40px;
}

.resources-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.resource-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: white;
    border: 4px solid black;
    border-radius: 2px;
    padding: 32px 40px;
    text-decoration: none;
    color: black;
    box-shadow: 8px 8px 0 black;
    font-family: 'Palanquin Dark', sans-serif;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    min-width: 220px;
    text-align: center;
    cursor: url('../Images/pointer.svg'), pointer;
}
.resource-card:hover {
    background: #ffc700;
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 black;
}

.resource-icon { font-size: 48px; }

.resource-card h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 28px;
    font-weight: 400;
}

.resource-card p { font-size: 15px; color: #555; }

/* ══════════════════════════════════════
   CTA CONTACT
══════════════════════════════════════ */
.about-cta {
    background: #00ff7c;
    border-top: 4px solid black;
    padding: 100px 80px;
    text-align: center;
}

.about-cta-inner { max-width: 600px; margin: 0 auto; }

.about-cta h2 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 400;
    color: #1d1d1b;
    line-height: 1;
    margin-bottom: 16px;
}

.about-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #1d1d1b;
}

.btn-cta {
    display: inline-block;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 24px;
    background: black;
    color: #ffc700;
    border: 4px solid black;
    border-radius: 2px;
    padding: 16px 36px;
    text-decoration: none;
    box-shadow: 6px 6px 0 #0068ff;
    transition: transform 0.1s, box-shadow 0.1s;
    cursor: url('../Images/pointer.svg'), pointer;
}
.btn-cta:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 #0068ff; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-hero, .about-content, .about-skills,
    .about-tools, .about-resources, .about-cta { padding: 60px 40px; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid  { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 260px 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .about-hero, .about-content, .about-skills,
    .about-tools, .about-resources, .about-cta { padding: 50px 20px; }
    .tools-grid { grid-template-columns: 1fr; }
    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .about-photo-wrap { max-width: 280px; margin: 0 auto; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .skill-card:nth-child(2),
    .skill-card:nth-child(4) { transform: none; }
}

@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
}
